home *** CD-ROM | disk | FTP | other *** search
/ Netware Super Library / Netware Super Library.iso / mis_util / utility / manuals2.txt < prev    next >
Text File  |  1993-01-14  |  108KB  |  3,082 lines

  1. DOC 1.1 documentation file
  2. -----------------------------------------------------------------------
  3. Please note - this is a plain ASCII text file but it contains multiple
  4. documents each separated by a title line beginning with two @ signs.
  5. You may find it most convenient to view or print this file using the 
  6. DOC.EXE program supplied. 
  7. -----------------------------------------------------------------------
  8. Title1:PC MAGAZINE
  9. Title2:Power Pack Volume 2
  10. Copyright:(C)1993 Ziff-Davis UK Ltd
  11.  
  12. @@Introduction
  13. Introduction
  14. PC Magazine Power Pack                         Volume 2
  15. -------------------------------------------------------
  16.  
  17. Welcome! This disk is one of three making up the
  18. PC Magazine Power Pack, a collection of the top
  19. utilities from the PC Magazine utility library. 
  20.  
  21. Volume 2 brings together a comprehensive set of disk
  22. and file related utilities that cover a huge range
  23. of functions.
  24.  
  25. Program Summary
  26. ---------------
  27.  
  28.   2FILE & 2FLOPPY  Floppy disk image copier
  29.   BAC              Simpy but handy backup program
  30.   CHKFRAG          Report on disk fragmentation
  31.   CHKPATH          Check DOS command search path
  32.   CO               Copies, moves and deletes files
  33.   COMPARE          Displays differences between files
  34.   CONCEAL          Hide sensitive files 
  35.   DIRCOMP          Compare two directories
  36.   DIRMATCH         Directory comparison tool
  37.   DIRNOTES         Keep comments with filenames
  38.   DOS-EDIT         Innovative command-line editor
  39.   DR               Mini file manager 
  40.   DSCAN            Check for bad sectors
  41.   FFF              Find files fast!
  42.   FILECTRL         Multi-format file browser
  43.   FREE             Check disk free space
  44.   FSIZE            Report space occupied by files
  45.   PCPARK2          Generic hard disk hard park
  46.   PCTODAY & PCCOPY Back-up today's files
  47.   PCUNZIP          Unpack ZIP format files
  48.   PRUNE            Directory tree manager
  49.   RED              Move a file from one dir to another
  50.   RENDIR           Rename a directory
  51.   REPEATS          List duplicate filenames
  52.   RN               Directory manager; links to DR
  53.   SEARCH           Find files by name or content
  54.   SHOWDUPE         Locate duplicate files
  55.   SLICE            Split file onto multiple floppies
  56.   TOUCH            Update time and date stamps
  57.   WIPE             Secure file delete
  58.   XDIR             Pop-up directory listing
  59.  
  60. The PC Magazine Utility library
  61. -------------------------------
  62. These programs are taken from the library of utility
  63. programs originally written for the US edition
  64. of PC Magazine. More information on these and the other
  65. programs in the library is available on-line in the
  66. ZiffNet forum on the CompuServe Information Service.
  67.  
  68. Where do I go from here?
  69. ------------------------
  70. For more information about installing and running these
  71. programs, see the 'Tech Notes' document. If you're
  72. reading this in the DOC documentation viewer provided,
  73. press the Left arrow key to go back to the document list
  74. on the left and then the down arrow key to highlight
  75. 'Tech Notes'. 
  76.  
  77. It is a good idea too to make sure that you read the
  78. instructions for each program fully before trying
  79. to use it.
  80. @@Tech Notes
  81. Technical Notes
  82. PC Magazine Power Pack
  83. -------------------------------------------------------
  84.  
  85. This document provides additional information on 
  86. setting up and using these utilities and on using the
  87. documentation viewer program.
  88.  
  89. Installing the programs
  90. -----------------------
  91. To install these programs to a hard disk, use the
  92. install program provided (started by typing GO).
  93.  
  94. Note that you can try out or use the programs directly
  95. from the floppy if you don't want to install them onto
  96. your hard disk straightaway. For example, to try the
  97. PRUNE program out, follow steps like these:
  98.  
  99. * Insert the disk containing PRUNE (volume 2)
  100.  
  101. * Enter A: (or B:) at the DOS prompt to log
  102.   onto the disk
  103.  
  104. * Enter PRUNE to run the PRUNE program
  105.  
  106. Installing the programs from DOS
  107. --------------------------------
  108. You can install all of the programs or just selected
  109. ones using the DOS COPY command in the normal way.
  110. For example, to install the FSIZE program, you might:
  111.  
  112. * Insert volume 2, the disk with FSIZE on it
  113.  
  114. * Enter A: (or B: if appropriate) to log onto the
  115.   disk.
  116.  
  117. * Enter COPY FSIZE.COM C:\UTILS to copy the FSIZE 
  118.   program to an existing UTILS directory on your
  119.   hard disk drive C.
  120.  
  121. Most of the programs use their own name for a filename
  122. (for example, the CHKFRAG program is in the file 
  123. CHKFRAG.EXE). The programs will be either .COM or .EXE
  124. type files. Use the DOS DIR command to find out the 
  125. filenames you need for your COPY command.
  126.  
  127. Installing volumes 1, 2 and 3 together
  128. --------------------------------------
  129. You can opt to install all three volumes in the Power
  130. Pack into a single directory on your hard disk so that
  131. all the programs are together. This is a convenient
  132. arrangement and saves disk space. To do this using the
  133. GO program, install each disk in turn but select the
  134. same directory, for example C:\PCMAG, each time.
  135.  
  136. Some files, such as PACKING.LST and DOC.EXE, are 
  137. installed by each volume. When you come to install 
  138. volumes 2 and 3, GO will warn you that these files
  139. already exist as they will have been copied to your
  140. disk when you installed volume 1. You should choose
  141. the 'Skip this file' menu option to continue the
  142. installation.
  143.  
  144. If you do install all three volumes to one directory,
  145. the DOC documentation program will present a menu of
  146. files when you start it with the command DOC. You can
  147. also switch between the manuals for the three disks
  148. by choosing 'Select document file' from the DOC menu.
  149. If you want the instructions for a particular program,
  150. you can still enter DOC followed by a space and the
  151. program name when you start it (for example, DOC ANSI).
  152. DOC will search all three manuals for the right
  153. document and open the correct file. If you know which
  154. file the document is in, you can reduce the search
  155. time by giving its name on the command line too, for
  156. example DOC MANUALS3 ANSI.
  157.  
  158. Running the utilities
  159. ---------------------
  160. These utilities are all individual programs which
  161. should be started or loaded from the DOS prompt as
  162. needed by entering the relevant command (usually the
  163. program name followed by a space and any parameters
  164. that particular program needs). Read the
  165. documentation for a particular program before trying
  166. to use it. This will give a guide to the command
  167. format needed to use the program and in some cases a
  168. few examples to show you how it works.
  169.  
  170. Please note that there is no overall menu or front-
  171. end for the utilities as this isn't really an
  172. appropriate way to use them.
  173.  
  174. In general, the way to run a particular program is to
  175. change to the drive and directory where it is stored
  176. and then enter the relevant command.
  177.  
  178. For example, if you want to run the DIRMATCH program,
  179. and you install these programs to a C:\HOTUTILS 
  180. directory, you might enter:
  181.  
  182.     C:              change to drive C
  183.  
  184.     CD \PCMAG2      change to the volume 2 directory
  185.  
  186.     DIRMATCH        start DIRMATCH 
  187.  
  188. Putting the programs in your DOS command PATH
  189. ---------------------------------------------
  190. You can start DOS programs by either changing to the 
  191. drive and directory they are in and then entering 
  192. the relevant command or, if you have DOS 3.0 or 
  193. later, giving the relevant drive and directory 
  194. before the command name (e.g. enter C:\PCMAG2\PRUNE
  195. to start PRUNE from a PCMAG2 directory on drive C).
  196.  
  197. However, it is most convenient if you place the
  198. programs in your DOS command search path... a directory
  199. that is mentioned in your current PATH command. You
  200. can do this by either:
  201.  
  202. * Adding the directory the program is in to your 
  203.   normal PATH command in AUTOEXEC.BAT. For example, 
  204.   if the PATH command in your AUTOEXEC.BAT file reads
  205.  
  206.   C:\DOS;C:\WINDOWS
  207.  
  208.   and you have installed all the programs to a C:\PCMAG
  209.   directory, you might change it to read
  210.  
  211.   C:\DOS;C:\WINDOWS;C:\PCMAG
  212.  
  213.   You should be careful when making changes to 
  214.   AUTOEXEC.BAT not to disturb other commands already 
  215.   in it. See your DOS manual for full instructions.
  216.  
  217. or
  218.  
  219. * Copying those programs you use often to a directory
  220.   already in your PATH command. Many PCs already have
  221.   a directory called \BIN or \UTILS for small utility
  222.   programs like these. For example, if you have a 
  223.   \BIN directory on drive C and use the HC program
  224.   often, copy it across with a command like this:
  225.  
  226.   COPY C:\PCMAG1\HC.EXE C:\BIN
  227.  
  228. Loading programs from AUTOEXEC.BAT
  229. ----------------------------------
  230. Some of these utilities are designed to be loaded or
  231. run whenever your PC is working by placing the
  232. relevant command in the AUTOEXEC.BAT startup file. 
  233.  
  234. Please bear in mind:
  235.  
  236. * The program file must be available for AUTOEXEC.BAT
  237.   to load it. If it is not in a directory already
  238.   named in a PATH command earlier in AUTOEXEC.BAT,
  239.   you must give the drive and directory where it is
  240.   stored (e.g. C:\PCMAG1\ADDIT) or copy the file
  241.   to the root directory of the hard disk.
  242.  
  243. * The order in which resident programs are loaded can
  244.   be significant. If there appears to be a conflict,
  245.   try re-ordering the lines in AUTOEXEC.BAT.
  246.  
  247. * Always keep a startup floppy to hand and a back-up
  248.   copy of your AUTOEXEC.BAT file so that if problems
  249.   arise you can restore things to normal.
  250.  
  251. Using TSR (memory-resident) programs
  252. ------------------------------------
  253. Some of these utilities are 'TSRs' or memory-resident
  254. programs. These load into memory when first started
  255. and remain there, either operating invisibly or 
  256. waiting to be called up.
  257.  
  258. TSR programs are very popular and those on this disk
  259. are carefully written and fully tested. However, the
  260. design of DOS means that there is always a chance of
  261. conflict between different TSR programs or between a
  262. TSR and your main software. 
  263.  
  264. To avoid problems, please note:
  265.  
  266. 1. You should carefully test any new TSR program
  267.    on your system before using it while doing 
  268.    your normal work.
  269.  
  270. 2. Each TSR uses up memory. If you load too many
  271.    at once, your normal software may not be 
  272.    able to run.
  273.  
  274. 3. If you discover a conflict, loading the TSRs
  275.    in a different order may resolve it.
  276.  
  277. 4. You can sometimes change the 'hotkey' used to 
  278.    call up a TSR to avoid a conflict with keys used
  279.    by your other programs.
  280.  
  281. PACKING.LST file
  282. ----------------
  283. A complete index of all the files on all three
  284. volumes is provided in a text file called
  285. PACKING.LST. This is arranged with details of one
  286. file per line so that it easy to search using a
  287. program such as the DOS FIND command. Use this 
  288. file to help you locate particular programs or
  289. to identify the contents of various files.
  290.  
  291. Viewing and printing the documentation
  292. --------------------------------------
  293. A simple on-disk documentation viewer and printer
  294. is provided in the program file DOC.EXE. The 
  295. documents for this are stored in the files 
  296. MANUALS1.TXT, MANUALS2.TXT and MANUALS3.TXT, one
  297. for each volume.
  298.  
  299. You can start DOC by changing to the disk and 
  300. directory containing it and entering DOC.
  301.  
  302. DOC command line
  303. ----------------
  304. The easiest way to start DOC is just with the command
  305. DOC. However, you can add either the name of a 
  306. particular documentation file or of a particular 
  307. document to the command. For example, 
  308.  
  309.     DOC MANUALS3         Starts DOC with MANUALS3.TXT
  310.                          loaded. This form is only
  311.                          needed if you have more than
  312.                          one document file in the
  313.                          current directory and want
  314.                          to load a particular one
  315.                          straightaway.
  316.  
  317.     DOC CALC             Starts DOC with the
  318.                          instructions for CALC
  319.                          selected. It may take a 
  320.                          moment or two for DOC to
  321.                          locate the relevant document.
  322.  
  323.     DOC MANUALS3 BROWSE  Stars DOC with the MANUALS3
  324.                          file, open at the instructions
  325.                          for BROWSE.
  326.  
  327. Running DOC
  328. -----------
  329. DOC displays a list of available documents down the
  330. left side of the screen and shows the text of the
  331. currently selected document on the right. 
  332.  
  333. To select documents, use the up and down arrow keys to
  334. move through the list on the left. Typing the initial
  335. letters of a document name will jump directly to the
  336. next matching document. Once you've found the document
  337. you want, press TAB or the right arrow key to move
  338. to the text of the document on the right. The cursor
  339. keys (Home, End, Up, Down, PgUp, PgDn) will now move
  340. through the text. Press the left arrow or TAB key 
  341. again to go back to select other documents.
  342.  
  343. The DOC menu
  344. ------------
  345. To call up DOC's menu, press the ESC key. DOC 
  346. presents various options which you can select with
  347. the cursor and Return keys or by pressing one of
  348. the highlighted letters. The options will vary 
  349. depending on your PC's configuration and the 
  350. document files available.
  351.  
  352. Pressing ESC a second time cancels the menu.
  353.  
  354. Quitting DOC
  355. ------------
  356. Choose the Quit option from the menu to leave
  357. the DOC program and return to DOS.
  358.  
  359. Colour display off
  360. ------------------
  361. Choose Colour display off from the menu to ask
  362. DOC to work in black-and-white. You may wish to
  363. do this if you're using a laptop with an LCD screen
  364. that doesn't show colours well or with some greyscale
  365. or CGA composite video monitors. 
  366.  
  367. This menu option does not appear on PCs that do not
  368. have a colour capability.
  369.  
  370. Extended screen on
  371. ------------------
  372. Choosing this menu option switches the display to
  373. 43 or 50 lines so that you can see more text without
  374. scrolling. You can go back to the normal display by
  375. choosing Extended screen off subsequently.
  376.  
  377. This menu option is only available on EGA or VGA
  378. equipped PCs.
  379.  
  380. If you have a Super VGA display card and a program
  381. to set extended text modes, such as 60 lines deep,
  382. you might like to try setting an appropriate mode 
  383. before starting DOC... the program will operate 
  384. correctly with many non-standard Super VGA formats.
  385.  
  386. Fast screen on
  387. --------------
  388. This menu option only appears on PCs fitted with CGA
  389. or equivalent displays. Normally the DOC program
  390. deliberately slows down on this type of display to
  391. prevent the screen flicker or 'snow' that some CGA 
  392. displays can suffer from. If your system does not 
  393. suffer from snow, choose 'Fast screen on' for a 
  394. faster screen display. There's no harm in trying 
  395. this option either way on your PC... snow does no 
  396. harm and you might prefer to have a fast display 
  397. that flickers to a slow one that doesn't.
  398.  
  399. Print Document
  400. --------------
  401. Choose this menu option to print the currently selected
  402. document. A menu appears from where you can make four 
  403. print settings, choose Go to start printing or Cancel 
  404. to return to viewing documents. You may need to alter 
  405. the settings to suit your system before choosing Go 
  406. as follows: 
  407.  
  408. 1. Output port
  409.  
  410.    This is the printer interface that DOC should print 
  411.    the document to. By pressing O you can step through 
  412.    the ports fitted to your computer. The default LPT1, 
  413.    the first parallel printer port, is correct for 
  414.    most PCs. DOC can work with a serial printer (COM1 
  415.    or COM2) if you have one but you must make sure that 
  416.    the port is correctly set up (e.g. with a command
  417.    such as MODE COM1:9600,n,8,1,p) BEFORE running DOC. 
  418.    X-On/X-Off handshaking is automatically provided 
  419.    for serial printers.
  420.  
  421.    You can set the output port to "FILE". In this case, 
  422.    DOC will ask for the name of a disk file when you 
  423.    start printing and will then print to disk rather 
  424.    than to a printer. If the file you name already 
  425.    exists, DOC will append pages to it.
  426.  
  427.    DOC does not support PostScript printers. If you
  428.    have one of these, you might like to use the print
  429.    to FILE option and then use a PostScript conversion
  430.    program or word processor to print the resulting
  431.    file.
  432.  
  433. 2. Lines per page
  434.  
  435.    This is the number of printable lines on each page 
  436.    on your printer. DOC will print with this set 
  437.    incorrectly but will not be able to put page breaks 
  438.    and headers in the right place. The default is 70 
  439.    lines for A4 fan-fold paper at 6 lines per inch, 
  440.    typical of many dot-matrix printers. Other common
  441.    values are 64, 66 and 72.
  442.  
  443.    If you have difficulty with this setting, a 
  444.    workaround is to set the form-length correctly on 
  445.    your printer, enter a small number of lines per 
  446.    page (e.g. 60) and then select the "Use form-feeds" 
  447.    option.
  448.  
  449. 3. Use form-feeds
  450.  
  451.    Set this option to Yes if you're using a LaserJet-
  452.    style printer or any printer with the form-length 
  453.    set correctly. DOC will work with this option set 
  454.    to No by counting output lines but this is slower.
  455.  
  456. 4. Pause between pages
  457.  
  458.    Set this option to Yes if you're feeding single-
  459.    sheets to the printer... DOC will pause for you 
  460.    to get the next sheet ready between each page. 
  461.  
  462. Select document file
  463. --------------------
  464. This menu option only appears if you have more than
  465. one DOC documentation file in the current directory
  466. when you start DOC, for example if you install all
  467. three volumes to the same directory on your hard
  468. disk. Using this option, you can switch from one 
  469. file to another without leaving DOC.
  470.  
  471. Using document files without DOC
  472. --------------------------------
  473. The DOC document files can be accessed by 
  474. programs other than DOC though this may not be as
  475. convenient. They are plain ASCII text files, with a
  476. line-feed/carriage return pair at the end of every
  477. line so they can be viewed with normal DOS commands
  478. such as TYPE MANUALS1.TXT | MORE or 
  479. COPY MANUALS1.TXT PRN, text editor programs or 
  480. other file viewers and browsers.
  481.  
  482. The only unusual aspect is that the file contains
  483. multiple documents separated by lines beginning with
  484. two @ signs and a title for that particular document.
  485. DOC uses these to provide its list of available 
  486. documents. If you're using the files outside of DOC, 
  487. you may wish to break them up at these lines.
  488.  
  489. Customising the utilities
  490. -------------------------
  491. Some of these utilities are compact assembly language
  492. .COM programs to make them small, fast and efficient.
  493. This means that some of the programs do not include
  494. built-in configuration options.
  495.  
  496. However, if you're experienced with DEBUG, you can
  497. 'patch' the programs to customise their operation.
  498. The manual for each program will describe the ways
  499. in which it can be customised but typically you 
  500. can do so to:
  501.  
  502. *  Customise the screen colours the program uses
  503.    (if the display is hard to read on your screen).
  504.  
  505. *  Change the 'Hotkey' used by one of the TSR 
  506.    programs to avoid a conflict with your other
  507.    software.
  508.  
  509. *  Change defaults such as sorting order, size of
  510.    records and so on.
  511.  
  512. To customise a utility, follow this general procedure
  513. in conjunction with the manual for the program. (You 
  514. SHOULD NOT ATTEMPT this if you are not confident about
  515. using DEBUG as a mistake may stop the program from
  516. working or even crash your PC.)
  517.  
  518. 1. Always MAKE A COPY of the .COM file for the program
  519.    in question as a back-up. For example, assuming you
  520.    were patching a program called POP-CAL.COM, you 
  521.    might enter:
  522.  
  523.    COPY POP-CAL.COM ORIGCAL.COM
  524.  
  525. 2. Start DEBUG with the name of the program to modify. 
  526.    You must have the DOS DEBUG program available for 
  527.    this to work. For example, enter
  528.  
  529.    DEBUG POP-CAL.COM
  530.  
  531.    DEBUG loads the file and presents a - prompt.
  532.  
  533. 3. Use the DEBUG E command to modify the areas of
  534.    the program as described in its documentation.
  535.  
  536.    For example, assume the hotkey for POP-CAL can be
  537.    changed by entering a new keyboard scan code at
  538.    location 174. If we wanted to use Alt-P rather
  539.    than Alt-C we can see from the scan code (SS) table 
  540.    below that we need to change this to code 19. 
  541.  
  542.    This can then be entered in DEBUG with:
  543.  
  544.    E174 19
  545.  
  546. 4. After making all the necessary changes, save the
  547.    file back onto disk with the W command. Enter
  548.  
  549.    W
  550.  
  551. 5. Now leave DEBUG. Enter
  552.  
  553.    Q
  554.  
  555. 6. Now load and test out the new program. If it no
  556.    longer works, delete it, restore your back-up
  557.    copy (e.g. COPY ORIGCAL.COM POP-CAL.COM) 
  558.    and then try again.
  559.  
  560. The tables below list the values necessary for
  561. customising colours and hotkeys.
  562.  
  563.              Keyboard scan codes 
  564.              for alternative hotkeys
  565.              (Values for SS)
  566.              -----------------------
  567.  
  568.          Scan                    Scan
  569. Key      Code (hex)    Key       Code (hex)
  570. -------- ----------    --------- ----------    
  571. Esc       01           Z          2C
  572. 1 !       02           X          2D
  573. @ 2       03           C          2E
  574. # 3       04           V          2F
  575. $ 4       05           B          30
  576. % 5       06           N          31
  577. ^ 6       07           M          32
  578. & 7       08           < ,        33
  579. * 8       09           > .        34
  580. ( 9       0A           ? /        35
  581. ) 0       0B           R Shift    36
  582. _ -       0C           PrtSc *    37
  583. + =       0D           Alt        38
  584. Bkspace   0E           Spacebar   39
  585. Tab       0F           CapsLk     3A
  586. Q         10           F1         3B
  587. W         11           F2         3C
  588. E         12           F3         3D
  589. R         13           F4         3E
  590. T         14           F5         3F
  591. Y         15           F6         40
  592. U         16           F7         41
  593. I         17           F8         42
  594. O         18           F9         43
  595. P         19           F10        44
  596. { [       1A           NumLock    45
  597. } ]       1B           ScrlLk     46
  598. Enter     1C           7 Home     47
  599. Ctrl      1D           8 UpArr    48
  600. A         1E           9 PgUp     49
  601. S         1F           -          4A
  602. D         20           4 LArrow   4B
  603. F         21           5          4C
  604. G         22           6 RArrow   4D
  605. H         23           +          4E
  606. J         24           1 End      4F
  607. K         25           2 DnArr    50
  608. L         26           3 PgDn     51
  609. : ;       27           0 Ins      52
  610. " '       28           . Del      53
  611. `         29           SysReq     54
  612. L Shift   2A           F11        57
  613. | \       2B           F12        58
  614.  
  615.              Shift Mask codes
  616.              for alternative hotkeys
  617.              (Values for MM)
  618.              -----------------------
  619.  
  620.     Value  Alt  Ctrl  L-Shift  R-Shift
  621.     -----  ---  ----  -------  -------
  622.       0
  623.       1                           X
  624.       2                  X
  625.       3                  X        X
  626.       4           X
  627.       5           X               X
  628.       6           X      X
  629.       7           X      X        X
  630.       8     X
  631.       9     X                     X
  632.       A     X            X
  633.       B     X            X        X
  634.       C     X     X
  635.       D     X     X               X
  636.       E     X     X      X
  637.       F     X     X      X        X 
  638.  
  639. X signifies that this key must pressed. For example,
  640. to use Left Shift and Right Shift for the hotkey, 
  641. the value to use for MM would be 3.
  642.  
  643.              Colour values
  644.              ---------------
  645.              Black     0     
  646.              Blue      1     
  647.              Green     2     
  648.              Cyan      3     
  649.              Red       4     
  650.              Magenta   5     
  651.              Brown     6     
  652.              Lt Gray   7     
  653.              Dark Gray 8
  654.              Lt Blue   9
  655.              Lt Green  A
  656.              Lt Cyan   B
  657.              Orange    C
  658.              Violet    D
  659.              Yellow    E
  660.              White     F
  661.  
  662. A full colour value is two hex digits, the first
  663. for the background colour and the second for the 
  664. foreground. For example, bright white on a dark
  665. blue background is 1F. Do not choose light colours
  666. (values larger than 7) for the background as it 
  667. will produce a blinking display in most of the
  668. programs.
  669. @@2FILE & 2FLOPPY
  670. 2FILE & 2FLOPPY                            Steve Cooper
  671. Floppy disk image copying                   Version 1.1
  672. -------------------------------------------------------
  673.  
  674. Purpose
  675. -------
  676. 2FILE creates an exact, sector-by-sector copy of a
  677. floppy disk as a single hard disk file for modem
  678. transmission, multiple floppy duplication and so
  679. forth. 2FLOPPY provides the opposite capability,
  680. formatting and writing a new floppy disk from a file
  681. produced by 2FILE. 2FILE and 2FLOPPY support all
  682. 5.25-inch and 3.5-inch DOS diskette formats.
  683.  
  684. Format
  685. ------
  686.  
  687.     2FILE d: [e:][\path\]filename[.ext]
  688.  
  689. and
  690.  
  691.     2FLOPPY d: [e:][\path\]filename[.ext]
  692.             [/number] [/q] [/v]
  693.  
  694. Using 2FILE
  695. -----------
  696. The d: parameter is the drive containing the floppy
  697. disk to be copied, and filename is the name to be
  698. given to the 2FILE copy. A default .FLP extension will
  699. be supplied if none is specified, and the
  700. currently-logged hard drive and path will be used for
  701. storage unless otherwise specified with the optional
  702. e: and \path\ parameters. The hard disk must have
  703. enough space to hold the entire floppy plus a 13-byte
  704. header.
  705.  
  706. Files created with 2FILE can be compressed before
  707. modem transmission with ARC, PKARC, PKZIP and similar
  708. utilities.
  709.  
  710. Using 2FLOPPY
  711. -------------
  712. The d: parameter is the drive containing the floppy
  713. disk to be formatted and written to. The filename is
  714. that of the 2FILE source file, which is assumed to be
  715. located on the currently-logged hard disk and
  716. directory unless the e: and/or \path\ parameters are
  717. supplied. The 2FILE source is presumed to have the
  718. default .FLP extension unless an .ext is specified.
  719.  
  720. The optional /number parameter is used when a number
  721. of floppy diskettes are to be made from the same 2FILE
  722. source. Values for /number may range from 1 through
  723. 32,767 (default: 1). The user will be prompted with a
  724. message and a beep to insert new floppies, as needed.
  725. To silence the beep, use the /q parameter. Copies are
  726. verified unless the /v parameter is specified. The /q
  727. and /v switches may be entered in either upper- or
  728. lower-case.
  729.  
  730. Notes
  731. -----
  732.  
  733. 1. Just like the DOS DISKCOPY command, 2FILE and
  734.    2FLOPPY produce exact copies of a disk,
  735.    preserving any file fragmentation on the disk.
  736.    If you're sending a .FLP file via modem to
  737.    someone, you might want to ensure that your
  738.    original disk is unfragmented before you
  739.    use 2FILE on it.
  740.  
  741. 2. 2FLOPPY formats and writes over the destination
  742.    disk with the 2FILE-produced file. ANYTHING
  743.    ALREADY ON THE DISK WILL BE LOST so make sure
  744.    you only use it on a new or unwanted floppy.
  745. @@BAC
  746. BAC                                      John Dickinson
  747. Backs-up files to multiple floppies        Version 1.0
  748. -------------------------------------------------------
  749.  
  750. Purpose
  751. -------
  752. Backs up all (or selected) files in a directory to hard
  753. or floppy disks, permitting disk changes when target
  754. disks become full.
  755.  
  756. Format
  757. ------
  758.  
  759.     BAC [d:][path]filename[.ext] [d:][path]
  760.  
  761. Remarks
  762. -------
  763. Unlike the DOS COPY command, BAC permits you to
  764. change (formatted) target disks when backing up files
  765. to disk. Furthermore, it only backs up files whose date
  766. stamp is later than those of identically named files on
  767. the target disk. Unlike BACKUP, BAC does not change the
  768. setting of the archive bit. Also, files copied with
  769. BAC are fully usable at all times; they do not need
  770. first to go through a RESTORE process.
  771.  
  772. BAC supports the use of global (* and ?) characters
  773. in filenames and extensions. It does not, however,
  774. permit you to REName files during copying.
  775.  
  776. Examples
  777. --------
  778. You are working at a PC/AT with a hard disk drive (C:)
  779. on which you keep your copy of BAC, and you want to
  780. back up all the .DOC files stored on a 1.2-Mb floppy
  781. disk (drive A:) onto regular 360K disks (drive B:).
  782. Since these .DOC files will require approximately 600K,
  783. you must have two formatted blank floppy disks ready to
  784. use in drive B:. From the C> prompt you enter
  785.  
  786.     BAC A:*.DOC B:
  787.  
  788. When the first target disk in drive B: is full, you
  789. will be prompted to change disks.
  790.  
  791. Notes
  792. -----
  793. 1. BAC compares the date stamps of identically
  794.    named files and will not overwrite a newer version
  795.    with an older one. This may cause files to be skipped
  796.    if you omit to keep your date/time current.
  797.  
  798. 2. Requires DOS 2.0 or later.
  799. @@CHKFRAG
  800. CHKFRAG                 Bob Flanders and Michael Holmes
  801. Reports on extent of file fragmentation     Version 1.7
  802. -------------------------------------------------------
  803.  
  804. Purpose
  805. -------
  806. Reports on-screen the extent of file fragmentation on
  807. a hard disk and provides an ERRORLEVEL value usable
  808. within a batch file to call a defragmentation program.
  809.  
  810. Format
  811. ------
  812.  
  813.     CHKFRAG [d:] [/% | /N | /E] [/L]
  814.  
  815. Remarks
  816. -------
  817. Executed without any of its optional parameters,
  818. CHKFRAG produces a screen report indicating the number
  819. of files and directories, how many and what percentage
  820. of these are fragmented, and how many extra
  821. (non-contiguously stored) parts of files are contained
  822. on the currently-logged drive. An ERRORLEVEL code
  823. from 0-100, reflecting the percentage of fragmented
  824. files, (the /% parameter is the default) is also
  825. shown.
  826.  
  827. An alternative drive (d:) to be analyzed may be
  828. specified, as may be ERRORLEVEL return codes that
  829. reflect the actual number of fragmented files (the /N
  830. parameter) or of extra sections (the /E parameter).
  831. The ERRORLEVEL return codes are not intended for
  832. strict accuracy:  if any file is fragmented the
  833. minimum ERRORLEVEL returned by the /% parameter is 1%,
  834. and 254 is the maximum ERRORLEVEL returned by the /N
  835. and /E switch options. These return codes are
  836. intended to be used to trigger automatic loading and
  837. execution of the user's defragmenting utility from
  838. within a batch file. An ERRORLEVEL return code of 255
  839. is used to indicate an error condition, which halts
  840. operation.
  841.  
  842. If desired, a list of the names of fragmented files
  843. and directories can be produced by specifying the
  844. optional /L parameter. The normal screen output from
  845. CHKFRAG may be redirected to a file or to a printer,
  846. for easier analysis.
  847.  
  848. The DOS CHKDSK command, specified with its /F switch,
  849. should be executed before running CHKFRAG; lost
  850. clusters or cross-linked files are interpreted by
  851. CHKFRAG as error conditions. Drives created with the
  852. DOS ASSIGN or SUBST commands, and directories created
  853. by JOIN are not checked by CHKFRAG. While analyzing
  854. large disks, the utility requires approximately 100KB
  855. of available RAM. CHKFRAG's on-screen recommendations
  856. are to consider using a defragmenting utility when
  857. file fragmentation is in the range from 11% to 75%,
  858. and definitely to defragment disks that show more than
  859. 75% fragmentation.
  860.  
  861. Notes
  862. -----
  863.  
  864. 1. Version 1.7 of CHKFRAG is included on this disk. You
  865.    should replace any older versions of CHKFRAG you have
  866.    with this version.
  867. @@CHKPATH
  868. CHKPATH                                 John Deurbrouck
  869. Lists available programs and checks PATH 
  870. command                                     Version 1.1
  871. -------------------------------------------------------
  872.  
  873. Purpose
  874. -------
  875. Displays either all or same-named .COM, .EXE, and .BAT
  876. files on the user's path or in specified drive(s) or
  877. directories, showing which program will actually be
  878. executed; also warns of common problems in PATH syntax
  879. and usage.
  880.  
  881. Format
  882. ------
  883.  
  884.     CHKPATH [/a] [/d=drive(s)] [/s=dir1 ... dirn]
  885.             [/e=var] [/n] [/p]
  886.  
  887. Remarks
  888. -------
  889. Entered without any of the optional / switches,
  890. CHKPATH presents a syntax help screen. The /a switch
  891. causes display of all rather than conflicting-name
  892. programs. The /n eliminates file size, date, and time
  893. information from the list. The /p/ switch pauses at
  894. each screenful.
  895.  
  896. Using the /d= switch causes a search of all directories
  897. in the drive(s) named. No spaces between the drive
  898. letter colon and the next drive are allowed in this
  899. case, but sequential drives may be specified with a
  900. dash, as in /d=C:-F:H:. The /s= switch restricts the
  901. search to the directories specified, as in /s=C:\DOS
  902. D:\UTIL.
  903.  
  904. Most frequently, CHKPATH will be used with the /e=
  905. switch, with PATH as the specified var. By specifying
  906. /e=var more than once on the same CHKPATH run,
  907. however, conflicts among different
  908. directory-specifying environment variables may be
  909. checked at once. Environment variables should be
  910. formatted as in the DOS PATH statement.
  911.  
  912. CHKPATH will also alert the existence of empty,
  913. repeated, or relatively-specified (backslash omitted)
  914. directories on the DOS path. More than one specifying
  915. switch can be used at once to make multiple-selection
  916. comparisons. When both specified and non-specified
  917. directories are shown in the listing the latter will
  918. be prefixed by a minus sign.
  919.  
  920. All CHKPATH output can be redirected to a printer or a
  921. file.
  922. @@CO
  923. CO                                   Michael J. Mefford
  924. Convenient selective file copy, move or 
  925. delete                                        Version 1.0
  926. -------------------------------------------------------
  927.  
  928. Purpose
  929. -------
  930. Copies, moves, or deletes files individually or in
  931. tagged groups from directory listings sorted by name,
  932. extension, size, or date.
  933.  
  934. Format
  935. ------
  936.  
  937.     CO [d:][\directory][/E][/S][/D][/T][/O]
  938.  
  939. Remarks
  940. -------
  941. Entered without any of its optional parameters and
  942. switches, CO presents an sorted listing of the current
  943. directory with a menu of Function Key commands on the
  944. right. The file attributes (Archive, Hidden,
  945. Read-Only, and System) are shown by the appropriate
  946. letters to the right of each listed file. The Up- and
  947. Down-Arrow keys move the file-selection highlight bar
  948. one line at a time. Ctrl-PgUp (^PgUp) and ^PgDn move to
  949. the top and bottom of the current display page (21
  950. files), while PgUp and PgDn allow you to scroll through
  951. the entire directory listing. The Home and End keys go
  952. to the beginning and end of the listing, respectively.
  953. Pressing a letter moves the highlight bar to the first
  954. (then subsequent) filename(s) beginning with that
  955. letter. Multiple files are tagged for group copying,
  956. moving, or deleting by pressing the gray plus (+) key;
  957. the gray minus (-) key unmarks a mistagged file.
  958.  
  959. The optional /E, /S, /D, /T, and /O command-line
  960. switches sort the initial directory listing by
  961. Extension, Size, DaTe (/D and /T operate identically),
  962. or by Original DOS order. Once on screen, function keys
  963. F7 (Name), F8 (Extension), F9 (Size), and F10 (Date)
  964. can be used for subsequent sorts. F1 initiates the Copy
  965. process for the highlighted (or marked) file(s). F6
  966. toggles the Copy Verify option (comparable to DOS /V).
  967. F2 and F3 are used for Move and Delete. You are
  968. prompted for the appropriate destination for Copy and
  969. Move: different drives and paths are supported, as is
  970. the use of the DOS ? and * wildcards. Renaming while
  971. copying is permitted.
  972.  
  973. When a marked (tagged) file is successfully copied, its
  974. marker arrow is replaced by an asterisk. If a floppy
  975. disk becomes filled, CO automatically attempts to find
  976. other marked files that will fit. Back-up will then halt
  977. with some file(s) remaining to be copied. Replace
  978. the full diskette with another, hit F1 again, re-enter
  979. the correct destination drive, and the remaining marked
  980. files will be copied.
  981.  
  982. To divide the contents of a directory into two parts,
  983. mark and copy the first set of files, as above, so that
  984. all have the "copied" asterisk. Then press F5 to mark
  985. the previously-untagged files and repeat the copying
  986. process for the second group.
  987.  
  988. Note
  989. ----
  990. CO functions can alternately be performed by
  991. Ctrl-letter commands: ^C (Copy), ^D (Delete),
  992. ^M (Move), ^V (Verify), ^N (Name), ^E (Extension),
  993. ^S (Size), and ^T (Date).
  994. @@COMPARE
  995. COMPARE                              Michael J. Mefford
  996. Compare contents of two files                Version 1.0
  997. -------------------------------------------------------
  998.  
  999. Purpose
  1000. -------
  1001. Displays the differences between two text or two binary
  1002. files. Files need not be the same length, and paragraph
  1003. reformatting changes introduced by wordwrap are ignored.
  1004.  
  1005. Format
  1006. ------
  1007.  
  1008.     COMPARE filespec filespec[/B][/W]
  1009.  
  1010. Remarks
  1011. -------
  1012. COMPARE's default assumption is that the filenames
  1013. designated in filespec are to be compared as ASCII text
  1014. files. Formatting commands embedded by word processing
  1015. programs are reproduced on screen but are not acted
  1016. upon. Files in which the "high bit" is set (such as
  1017. those produced by WordStar's document mode) can be made
  1018. displayable in ASCII by entering the optional /W on the
  1019. command line.
  1020.  
  1021. Files are displayed in two on-screen windows.
  1022. Differences are shown in inverse video, and are
  1023. preceded by several lines of matching text to provide
  1024. a context. When the windows are filled, pressing any
  1025. key continues to search for differences; pressing Esc
  1026. returns the user to DOS. All character modes, but no
  1027. graphics modes, are supported.
  1028.  
  1029. Files with .COM or .EXE extensions are automatically
  1030. displayed in COMPARE's binary mode, which is similar to
  1031. that produced by DEBUG.COM. Unlike DEBUG, however,
  1032. COMPARE uses the IBM/ASCII symbol set rather than
  1033. periods to show non-alphanumeric characters, and its
  1034. segment offset begins at zero rather than at 100h. Any
  1035. file can be compared in binary mode by adding the
  1036. optional /B switch on the command line.
  1037.  
  1038. Note
  1039. ----
  1040. When COMPARE finds a difference between files it
  1041. searches ahead up to 400 bytes (the reach value) for a
  1042. string of 10 (excluding spaces) successive matching
  1043. characters (the sequence value). DEBUG.COM can be used
  1044. to change the reach and search values on a copy of
  1045. COMPARE.COM thus:
  1046.  
  1047.     DEBUG COMPARE.COM
  1048.     E 6ED cd ab
  1049.     E 6F5 cd ab
  1050.     E 6F9 gh ef
  1051.     W
  1052.     Q
  1053.  
  1054. where abcd is the reach value, in hex (default 0190h)
  1055. and efgh is the sequence value (default 000Ah).
  1056. @@CONCEAL
  1057. CONCEAL                              Michael J. Mefford
  1058. Hide files and blank the screen for 
  1059. security                                    Version 1.0
  1060. -------------------------------------------------------
  1061.  
  1062. Purpose
  1063. -------
  1064. Provides file security through password protection of
  1065. selected files and a screen-blanking system activated
  1066. either by a hotkey or by a period of keyboard
  1067. inactivity. Most options explained below have ON and
  1068. OFF states (default on) that may be entered with the
  1069. parameters.
  1070.  
  1071. Format
  1072. ------
  1073.  
  1074.     CONCEAL [/P password] [filespec] [options]
  1075.  
  1076. Remarks
  1077. -------
  1078. CONCEAL is normally loaded as a TSR requiring
  1079. approximately 1K of RAM, via the AUTOEXEC.BAT line
  1080.  
  1081.     CONCEAL /S
  1082.  
  1083. Files are then protected with the command
  1084.  
  1085.     CONCEAL filespec /S
  1086.  
  1087. This applies the DOS System attribute to the filespec,
  1088. making it invisible to DOS. CONCEAL then monitors and
  1089. fails any attempts to remove the System attribute, and
  1090. any DOS calls to open, delete, rename, or change the
  1091. file attribute of protected files unless the proper
  1092. password is supplied. Legitimate access is provided by
  1093. the command
  1094.  
  1095.     CONCEAL /P password filespec /S OFF
  1096.  
  1097. This turns off the filespec System attribute, which
  1098. must later be reapplied. (The /F option allows
  1099. password-access without removing the System attribute,
  1100. but may not work with all applications.) The default
  1101. password SHAZAM can be changed with the /N parameter
  1102. option. Other file attributes (Archive, System, Hidden,
  1103. Read-only) can be changed with the /A option:
  1104.  
  1105.     CONCEAL /A filespec [+|-A] [+|-S] [+|-H] [+|-R]
  1106.  
  1107. Hardware screen blanking is provided by entering
  1108.  
  1109.     CONCEAL /B nn
  1110.  
  1111. where nn is a number of minutes (0 - 60). The default
  1112. is 3 minutes, and a value of 0 for nn turns blanking
  1113. off. The /G option may be entered instead of /B to
  1114. provide a bouncing ball instead of a blank screen
  1115. display. Instant blanking is achieved with a hotkey
  1116. (default Alt-Z), which may be changed to any Alt- or
  1117. Ctrl- alphanumeric key with the /H option. From
  1118. graphics mode, the /G option defaults to /B. To blank
  1119. over graphics applications such as Windows, use the /O
  1120. parameter. Adding the /T switch will require password
  1121. entry rather than a simple keystroke to terminate
  1122. screen blanking. The /U switch uninstalls CONCEAL.
  1123. @@DIRCOMP
  1124. DIRCOMP                                 Charles Petzold
  1125. Lists two directories side-by-side        Version 1.0
  1126. -------------------------------------------------------
  1127.  
  1128. Purpose
  1129. -------
  1130. Permits comparison of the contents of two directories
  1131. in alphabetical order, with the options of redirecting
  1132. the screen display either to a file or to a printer.
  1133.  
  1134. Format
  1135. ------
  1136.  
  1137.     DIRCOMP directory1 directory2
  1138.  
  1139. Remarks
  1140. -------
  1141. The directories to be compared do not need to be on
  1142. the same drive. Use the normal DOS backslash (\)
  1143. character in specifying the path to a desired
  1144. directory. The DOS "wildcard" characters (* and ?)
  1145. may be used to limit the filenames displayed.
  1146.  
  1147. Identically-named files are shown side-by-side to
  1148. facilitate comparison of their size, date, and time.
  1149. Other filenames are presented alphabetically in their
  1150. respective directory columns. Press [Pause] to halt
  1151. the display scrolling temporarily; striking any
  1152. key thereafter causes scrolling to resume.
  1153.  
  1154. In comparing large directories it is frequently
  1155. desirable to redirect the output of DIRCOMP either to
  1156. a file (which you can then call up with your word
  1157. processor) or to a printer.
  1158.  
  1159. Example
  1160. -------
  1161. To create a file called COMPARE.TMP in the root
  1162. directory of drive C: (your currently active drive)
  1163. that compares the listings in your \LETTERS
  1164. subdirectory with the files contained on a floppy disk
  1165. in drive B: you would enter:
  1166.  
  1167.     DIRCOMP \LETTERS B: > \COMPARE.TMP
  1168.  
  1169. Example
  1170. -------
  1171. To print out the same comparison without creating a
  1172. file, you would enter:
  1173.  
  1174.     DIRCOMP \LETTERS B: >PRN
  1175. @@DIRMATCH
  1176. DIRMATCH                             Michael J. Mefford
  1177. Compare two directories side-by-side        Version 3.1
  1178. -------------------------------------------------------
  1179.  
  1180. Purpose
  1181. -------
  1182. To display two scrollable, alphabetised, directory
  1183. listings side-by-side, with the more recent of matching
  1184. filenames highlighted; to provide mark, copy, and move
  1185. facilities to update the target directory with one or
  1186. more selected files from the source.
  1187.  
  1188. Format
  1189. ------
  1190.  
  1191.     DIRMATCH source target [/D][/A]
  1192.  
  1193. Remarks
  1194. -------
  1195. The source and target may comprise any combination of
  1196. drives, directories, or subdirectories (with optional *
  1197. and ? wildcards) valid for the DOS DIR command. The
  1198. user will be prompted for target and source directories
  1199. if these items are incorrect. By default, DIRMATCH
  1200. displays all files in the two directories. The optional
  1201. /D and /A switches restrict the display to Different
  1202. and Alike files, respectively. The on-screen display,
  1203. together with the number-of-files counters, can be
  1204. cycled through All, Different and Alike modes with F1;
  1205. Shift-F1 cycles in reverse. Pressing Esc exits the
  1206. utility. Crtl-C will abort the program operation.
  1207.  
  1208. An inverse-video selector bar shows the current
  1209. position in the listings, and may be moved with the
  1210. UpArrow, DownArrow, PgUp, PgDn, Home, and End keys.
  1211. When the selector bar is on a filename, pressing the
  1212. plus (+) key on the keypad or the equal (+=) key on the
  1213. keyboard marks the file for further action. Pressing
  1214. the minus (-) key on the keypad or the hyphen (-) key
  1215. on the keyboard unmarks a marked file. F2 marks all
  1216. files; F3 clears all marks.
  1217.  
  1218. A file under the selector-bar or a group of marked
  1219. files can be copied from source to target directories
  1220. by pressing F4. A confirming prompt is provided.
  1221. Similarly, pressing F5 moves a file or marked group, by
  1222. first copying and then deleting file(s) from the
  1223. source. While older files can be copied (F4) to the
  1224. target directory, by default F5 will not move them.
  1225.  
  1226. F6 will delete the marked files from the source
  1227. directory after prompting for confirmation. F7 moves
  1228. marked files only if there are not existing files in
  1229. the target directory with the same name.
  1230.  
  1231. F8 reverses the source and target directories on the
  1232. screen making the current source the target and the
  1233. current target the source. This allows the user to move
  1234. and copy files in any direction and to delete any file.
  1235. This is especially helpful when updating two
  1236. directories that have been maintained independently
  1237. (e.g. at the office and at home) so that they will
  1238. both have the latest versions of the same file.
  1239.  
  1240. Pressing F9 prints a list of All files, with more
  1241. recent matching filenames identified with a
  1242. greater-than (>) sign. F10 displays the amount of free
  1243. space on the target disk drive.
  1244.  
  1245. DIRMATCH supports any number of screen display lines,
  1246. including 43-line (EGA) and 50-line (VGA) modes. It can
  1247. display up to 1,423 filenames in its listings. Hidden
  1248. and read-only files are not displayed. DIRMATCH
  1249. requires 64K free RAM in order to run.
  1250.  
  1251. New features in Version 2.0:
  1252.  
  1253. F6     Delete file(s)
  1254.  
  1255. F7     Moves file(s)
  1256.        (if not already on Target directory)
  1257.  
  1258. F8     Swaps Target & Source directories
  1259.  
  1260. F9     Pressing F9 prints a list of all files, with more
  1261.        recent matching filenames identified with a
  1262.        greater-than (>) sign
  1263.  
  1264. F10    Checks amount of free disk space in Target
  1265.        directory
  1266.  
  1267. Colour patch addresses:
  1268.  
  1269.     EE9 Heading
  1270.     EEE File listings
  1271.     EF3 Bottom menu
  1272.     EF8 Highlight bar
  1273.     EFD Directory names & F1 active mode toggle
  1274.     F02 Recent Files
  1275.  
  1276. How to use DEBUG to patch colours:
  1277.  
  1278.   Dark colours   Light colours
  1279.   ------------   -------------
  1280.   Black    0     Dark Gray 8
  1281.   Blue     1     Lt Blue   9
  1282.   Green    2     Lt Green  A
  1283.   Cyan     3     Lt Cyan   B
  1284.   Red      4     Orange    C
  1285.   Magenta  5     Violet    D
  1286.   Brown    6     Yellow    E
  1287.   Lt Gray  7     White     F
  1288.  
  1289. To change an area's default colours (background &
  1290. foreground), simply choose from the list of available
  1291. colours above and substitute the corresponding values
  1292. at the appropriate location.
  1293.  
  1294. When choosing a colour combination, remember that the
  1295. first value represents the background colour and the
  1296. second value represents the foreground colour. NOTE:
  1297. using a light colour as the background colour will
  1298. result in blinking characters.
  1299.  
  1300. For example, if you wanted to change the heading from
  1301. the default colours of blue on gray to white on red,
  1302. you would change the value at location EDF from "71" to
  1303. "4F." Here is the sequence of DEBUG commands to do
  1304. this:
  1305.  
  1306.     DEBUG DIRMATCH.COM
  1307.  
  1308.     (Tell DEBUG to load DIRMATCH.COM)
  1309.  
  1310.     E EDF 4F
  1311.  
  1312.     (Edit location "EDF" & replace value with "4F")
  1313.  
  1314.     W
  1315.  
  1316.     (Write the modified DIRMATCH.COM file to disk)
  1317.  
  1318.     Q
  1319.  
  1320.     ( Quit DEBUG)
  1321.  
  1322. @@DIRNOTES
  1323. DIRNOTES                             Michael J. Mefford
  1324. Lets you add notes to describe file 
  1325. contents                                    Version 1.0
  1326. -------------------------------------------------------
  1327.  
  1328. Purpose
  1329. -------
  1330. Produces a dual-column directory listing with
  1331. DOS-format, alphabetically-sorted filenames on the
  1332. left and a coordinated, 38-character field on the
  1333. right in which to enter descriptive comments about
  1334. file comments, hotkey information, etc.
  1335.  
  1336. Format
  1337. ------
  1338.  
  1339.     DIRNOTES [d:][path][directory]
  1340.  
  1341. Remarks
  1342. -------
  1343. The cursor Up- and Down-Arrow keys, are used to scroll
  1344. the coordinated directory listings/notes line by
  1345. line. PgUp and PgDn scroll by screenful, and Home and
  1346. End go to the beginning and end of the listings.
  1347.  
  1348. The DIRNOTES editor operates in overstrike mode and
  1349. incorporates a backspace delete. The Left- and
  1350. Right-Arrow keys can be used to move the cursor
  1351. without deleting characters beneath it. Pressing the
  1352. Esc key automatically saves user-entered notes in a
  1353. file called DIRN-abc.DAT, where abc represent the
  1354. first three letters of the directory name. The .DAT
  1355. file created by DIRNOTES is in standard ASCII, and so
  1356. may be TYPEd.
  1357.  
  1358. A "U" immediately after the filename in the DIRNOTES
  1359. directory listing indicates that that file has been
  1360. changed since the last time the data file was
  1361. updated. That file's descriptive comments may need to
  1362. be changed.
  1363.  
  1364. Note
  1365. ----
  1366. The .DAT files created by DIRNOTES should not be
  1367. edited with a word processor. The record field
  1368. lengths are fixed, and any changes made other than by
  1369. DIRNOTES itself may render the file unrecoverable.
  1370. @@DOS-EDIT
  1371. DOS-EDIT                                Charles Petzold
  1372. DOS command line editing            Version 1.0
  1373. -------------------------------------------------------
  1374.  
  1375. Purpose
  1376. -------
  1377. Permits moving to, editing, and reentering on-screen
  1378. DOS commands without retyping.
  1379.  
  1380. Format
  1381. ------
  1382.  
  1383.     DOS-EDIT     (loads memory-resident program)
  1384.  
  1385. then
  1386.  
  1387.     <Up Arrow>           (enables DOS-Edit keys)
  1388.     <Left Arrow>                   (cursor left)
  1389.     <Right Arrow>                 (cursor right)
  1390.     <Up Arrow>                       (cursor up)
  1391.     <Down Arrow>                   (cursor down)
  1392.     <Backspace>          (destructive backspace)
  1393.     <Ins>              (insert/overwrite toggle)
  1394.     <Del>                     (delete character)
  1395.     <PgDn>               (delete to end of line)
  1396.     <PgUp>                  (cursor to column 1)
  1397.     <Home>          (cursor to initial column #)
  1398.     <Esc>           (exit edit mode, no changes)
  1399.     <End>           (transfer text line right of
  1400.                  cursor to end of original line)
  1401.     <Enter>   (like <End>, plus execute command)
  1402.  
  1403. Remarks
  1404. -------
  1405. When loaded, normally through your AUTOEXEC.BAT file,
  1406. an initial Up Arrow keypress activates the DOS-EDIT
  1407. mode. (Thereafter, the Up Arrow functions as a normal
  1408. cursor arrow key.)  If you move the cursor down to the
  1409. original line, you will leave the DOS-EDIT mode (e.g.,
  1410. the Left Arrow key will once again delete characters).
  1411.  
  1412. Example
  1413. -------
  1414. A typical use of DOS-EDIT is to correct a long command
  1415. line in which you made a typing error. Simply move
  1416. the cursor up to the mis- typed line, correct the
  1417. mistake (using the appropriate keys listed under
  1418. FORMAT), press Home (to position the cursor to pick up
  1419. the whole of the line), then Enter.
  1420.  
  1421. A less obvious example occurs if you have just done a
  1422. DIR listing and want to run a program. Move the
  1423. cursor up and just to the right of the program name.
  1424. Press PgDn to delete the extension and the rest of the
  1425. line, PgUp to position the cursor to pick up the whole
  1426. command name, then Enter.
  1427.  
  1428. Note
  1429. ----
  1430.  
  1431. 1.   DOS-EDIT is a memory-resident program,
  1432.      and so may cause conflicts with some
  1433.      other memory-resident software programs.
  1434.      Such problems can frequently be solved
  1435.      by changing the order in which the
  1436.      several memory-resident programs are
  1437.      loaded. DOS-EDIT should be loaded
  1438.      before ASSIGN.COM and before SideKick,
  1439.      for example.
  1440. @@DR
  1441. DR                                   Michael J. Mefford
  1442. File management utility                Version 1.0
  1443. -------------------------------------------------------
  1444.  
  1445. Purpose
  1446. -------
  1447. DR.COM provides an integrated set of file management
  1448. facilities for sorting, viewing, renaming, deleting,
  1449. and moving files to another directory. The command is
  1450. entered at the DOS prompt, with the following syntax:
  1451.  
  1452. Format
  1453. ------
  1454.  
  1455.     DR [d:][directory]
  1456.  
  1457. The default filename display (21 per page, to a maximum
  1458. of 721) is sorted alphabetically. Various switches,
  1459. added to the command, may be added to sort by other
  1460. criteria:
  1461.  
  1462.     /E       (sort by Extension)
  1463.     /S       (sort by Size)
  1464.     /D or /T (sort by DaTe)
  1465.     /O       (sort by DOS DIR order)
  1466.  
  1467. Thus, for example,
  1468.  
  1469.     DR \PROG /S
  1470.  
  1471. sorts the initial display of the PROG directory of the
  1472. default drive by size.
  1473.  
  1474. When a DR listing is on screen, a menu is displayed
  1475. showing further options. A highlight bar illuminates a
  1476. single filename, and the Up and Down Arrow keys move
  1477. the highlight bar a line at a time. The PgUp and PgDn
  1478. keys move the bar a page at a time, and Ctrl-PgUp and
  1479. Ctrl-PgDn move it to the top and bottom of the current
  1480. page. Home and End move to the beginning and end of the
  1481. directory listing. Pressing (and repressing) a letter
  1482. moves the bar to the first (and successive) filename(s)
  1483. beginning with that letter.
  1484.  
  1485. The highlighted file may be brought on screen for
  1486. viewing by pressing F1 (or Enter or Ctrl-V). The Up and
  1487. Down Arrows, PgUp and PgDn, and Home and End work
  1488. within the file, as well. Esc, Enter, or F1 return you
  1489. to the menu and directory listing. When pressed at the
  1490. menu level, Esc terminates the program.
  1491.  
  1492. Within DR, the following function keys (and
  1493. alternatively, the indicated Ctrl-letter) combinations
  1494. are used:
  1495.  
  1496.     F1  Ctrl-V or Enter  View file
  1497.     F2  Ctrl-D           Delete file
  1498.     F3  Ctrl-R           Rename file
  1499.     F4  Ctrl-M           Move file
  1500.     F5  (none)           Confirm Delete On/Off
  1501.     F6  Ctrl-W           WordStar hi-bit ON/Off
  1502.     F7  Ctrl-N           Sort files by Name
  1503.     F8  Ctrl-E           Sort files by Extension
  1504.     F9  Ctrl-S           Sort files by Size
  1505.     F10 Ctrl-T           Sort files by Date
  1506.  
  1507. Successive sorts can be used to arrange files, e.g. in
  1508. order of size and then, additionally, by extension.
  1509.  
  1510. Files can be renamed and may be moved from one
  1511. directory to another within DR, but they cannot be
  1512. renamed and moved in a single step. Files cannot be
  1513. copied from within DR... use CO on this disk instead.
  1514. @@DSCAN
  1515. DSCAN             Based on a program by Charles Petzold
  1516. Scans for bad sectors on a disk            Version 1.0
  1517. -------------------------------------------------------
  1518.  
  1519. Purpose
  1520. -------
  1521. Locates and identifies disk errors on hard and floppy
  1522. disks.
  1523.  
  1524. Format
  1525. ------
  1526.  
  1527.     DSCAN [d:]
  1528.  
  1529. Remarks
  1530. -------
  1531. Bad sectors on a disk can cause loss of data but, as
  1532. standard, DOS provides no tools to check for them.
  1533. The DOS FORMAT command detects bad sectors initially
  1534. -- and flags them in the disk's FAT (file allocation
  1535. table) so that they won't be used -- but bad sectors
  1536. can develop long after formatting. The RECOVER
  1537. command will lock out bad sectors but is only used
  1538. after damage has been found. The CHKDSK program only
  1539. checks a disk's directory structure and FAT for
  1540. consistency... it does not read through file data.
  1541.  
  1542. DSCAN simply reads every sector on a disk in turn
  1543. checking for errors. Regular use can provide
  1544. advance warning that a floppy has developed a faulty
  1545. area or that a hard disk is beginning to go bad.
  1546. DSCAN does not attempt any repairs (it only ever reads
  1547. a disk and does not write to it) but it's enough to
  1548. warn you of potential problems or to check that a
  1549. floppy you have prepared for someone is readable.
  1550.  
  1551. DSCAN messages
  1552. --------------
  1553. DSCAN reads blocks of sectors on the disk. If a
  1554. read fault occurs, it goes back and reads each
  1555. sector in the block individually to determine
  1556. the nature of the fault. Its messages include...
  1557.  
  1558. Problems with scanning
  1559. ----------------------
  1560.  
  1561.  
  1562. Unknown Media
  1563. Disk format unrecognised
  1564. Unknown Unit: DSCAN cannot identify the type of
  1565.      drive it has been asked to scan and can't
  1566.      work with it. These messages may be produced
  1567.      if the disk's boot sector is damaged but, if
  1568.      the disk appears to operate correctly, it is
  1569.      more likely that DSCAN is not compatible with
  1570.      the type or format of the disk in question.
  1571.  
  1572. Can't Read FAT: DSCAN can't read the disk's
  1573.      FAT in order to check where faults are.
  1574.      This message may occur if there are
  1575.      bad sectors in the FAT area. DSCAN will
  1576.      continue to operate if it can but will not
  1577.      be able say if bad sectors are already flagged,
  1578.      are free or lie within files.
  1579.  
  1580. Type of fault
  1581. -------------
  1582.  
  1583. CRC Error: Data checksum as recalculated
  1584.      during read does not agree with checksum
  1585.      stored on disk when written.
  1586.  
  1587. Sector Not Found: Sector boundary created
  1588.      during formatting is no longer readable.
  1589.  
  1590. Read Fault
  1591. General Failure:  The sectors so designated
  1592.      are bad, but the errors reported don't
  1593.      fall into any of the above categories.
  1594.  
  1595. Location of fault
  1596. -----------------
  1597.  
  1598. File Alloc. Table: The bad sector is in the FAT
  1599.      which will prevent access to some files or
  1600.      directories. This is a serious problem,
  1601.      particularly if a large number of sectors
  1602.      are affected and should be investigated
  1603.      further.
  1604.  
  1605. Boot Sector:  The first sector of the disk is
  1606.      bad. Typically, if this is the case, neither
  1607.      DSCAN nor normal programs will be able to
  1608.      recognise the disk at all since it stores
  1609.      information about the format of the disk.
  1610.      A damaged boot sector on a hard disk can
  1611.      sometimes be repaired by running the SYS
  1612.      command from an original DOS master floppy,
  1613.      at least for long enough to copy valuable
  1614.      files off the disk. The drive may have to
  1615.      backed-up and reformatted or even repaired
  1616.      or replaced if the problem persists.
  1617.  
  1618. Root Directory:  Errors here could keep you
  1619.      from later being able to load a file or
  1620.      save updates to it. CHKDSK will
  1621.      probably indicate unallocated cluster
  1622.      chains or cross-linked files, and you
  1623.      may have to use CHKDSK/F to save what
  1624.      you can.
  1625.  
  1626. Unallocated:  A bad sector has been found in
  1627.      a currently unused area of the disk.
  1628.      An "Abort, Retry, Ignore?" will be
  1629.      produced if in future DOS tries to save
  1630.      a file to this area. DSCAN does not
  1631.      lock out the bad sector.
  1632.  
  1633. Used by file: A bad sector has been found
  1634.      which is in one of your files. While
  1635.      DSCAN checks that the fault lies
  1636.      within a file, it does not determine
  1637.      the name of the file. You may be able
  1638.      to identify the file by using the
  1639.      COPY command to read through your files.
  1640.      For example,
  1641.  
  1642.      COPY *.* NUL
  1643.  
  1644.      When COPY encounters the file with the
  1645.      bad sector it will report "Abort, Retry,
  1646.      Ignore."  Note the bad file and press
  1647.      "I" to continue. NUL is the name of DOS's
  1648.      NUL device so that the copied data is
  1649.      simply thrown away.
  1650.  
  1651. Notes
  1652. -----
  1653.  
  1654. 1.   Requires DOS 2.0 or higher.
  1655.  
  1656. 2.   DSCAN is based on the original DISKSCAN program
  1657.      by Charles Petzold
  1658. @@FFF
  1659. FFF                                     John Deurbrouck
  1660. File finding utility                        Version 1.0
  1661. -------------------------------------------------------
  1662.  
  1663. Purpose
  1664. -------
  1665. A file and directory-finding utility that can search
  1666. all directories on any or all drives for one or more
  1667. target filespecs. Extended wildcards, size and attribute
  1668. information, and multiple report formats are supported.
  1669.  
  1670. Format
  1671. ------
  1672.  
  1673.     FFF [/a] [drive(s):] [/d|do] [/h|ho|hro] [/s]
  1674.         [/l|t|w] name(s)
  1675.  
  1676. Remarks
  1677. -------
  1678. The name(s) parameter may consist of multiple entries
  1679. (separated by spaces) on the same command line. Thus,
  1680. FFF *.exe *.com *.bat will find all executable files on
  1681. the current (default) drive.
  1682.  
  1683. In FFF, * stands for 0 to n characters, ? for one and
  1684. only one character; the period is treated specially as
  1685. an ordinary character. Thus *.* and * both mean
  1686. "all files" and *.?* restricts a listing to files that
  1687. have at least a 1-character extension. Unlike normal
  1688. DOS commands, combinations such as *C*T*.* are
  1689. permitted, facilitating finding files with a basename
  1690. that has, in this case, a C and a T in that order.
  1691.  
  1692. All other parameters are optional and are not sensitive
  1693. as to case or entry order. The /a switch causes FFF to
  1694. search all system drives in alphabetic order. One or
  1695. more drives may be specified, singly, in ranges, or
  1696. intermixed, by entering a drive(s): parameter. This
  1697. parameter must end with a colon, and included range(s)
  1698. of drives (e.g. c-e:) must begin with the lowest letter
  1699. drive in the group.
  1700.  
  1701. By default, searches begin from the root directory of
  1702. the drive(s) specified; the /s switch restricts the
  1703. search to the current subdirectory and its children.
  1704. The /d switch returns directories as well as files that
  1705. match name(s); /do lists matching directories only. The
  1706. /h switch adds hidden and system files; /ho restricts
  1707. the listing to hidden and system files; and /hro
  1708. reports hidden, system, and read-only files in addition
  1709. to normal files.
  1710.  
  1711. The default FFF report lists files and directories
  1712. found under their parent directories and supplies file
  1713. size, date and time, and attribute (archive, hidden,
  1714. system, read-only) information on each. File size and
  1715. allocation size totals are also supplied and a storage
  1716. efficiency percentage is calculated. The /w (wide)
  1717. switch reports entries individually, five across. The
  1718. /l (limited) switch lists number of entries and total
  1719. and allocated space. The /t (terse) switch reports
  1720. fully-qualified names only.
  1721. @@FILECTRL
  1722. FILECTRL                             Michael J. Mefford
  1723. Multi-format file viewer and browser        version 1.1
  1724. -------------------------------------------------------
  1725.  
  1726. Purpose
  1727. -------
  1728. A full-directory file-viewing and removal utility
  1729. capable of displaying WordPerfect, Microsoft Word, Q&A
  1730. Write, and WordStar documents as if they were in ASCII
  1731. format. FILECTRL automatically supports normal 25-line,
  1732. 43-line (EGA), 50-line (VGA) and UltraVision displays.
  1733.  
  1734. Format
  1735. ------
  1736.  
  1737.     FILECTRL [filespec] [options]
  1738.  
  1739. Remarks
  1740. -------
  1741. Entered without any parameters, FILECTRL displays a
  1742. filename list of the current directory in its left
  1743. window and the first part of the text of the
  1744. highlighted filename in its right window. The text is
  1745. shown stripped of any header and formatting codes. Any
  1746. drive and/or directory can be specified with filespec,
  1747. and * and ? can be used to limit the file list.
  1748. Pressing Esc exits the utility.
  1749.  
  1750. The Tab key (a toggle) shifts between windows, as do
  1751. the Left- and Right-Arrow keys. The display in the
  1752. active window is shown in high-intensity colour, and
  1753. scrolling within the active window uses the usual Up-
  1754. and Down- Arrows, PgUp and PgDn, Home and End keys.
  1755. From the file list window pressing a letter jumps the
  1756. selection highlight to the first filename beginning
  1757. with that letter and so continues with subsequent
  1758. keypresses.
  1759.  
  1760. F2 deletes a highlighted filename or empty
  1761. subdirectory, and Ctrl-F2 deletes a group of marked
  1762. filenames. Files can be marked with the + key and
  1763. unmarked with the -; the spacebar toggles the mark on
  1764. and off. All deletions are prompted for confirmation
  1765. prior to execution.
  1766.  
  1767. Pressing F5 successively (1) widens the file list to
  1768. show full DOS directory information, (2) widens the
  1769. text display to a full 80 columns, and (3) returns to
  1770. the original display. Shift-F5 reverses the display
  1771. sequence. Pressing Enter while a filename is
  1772. highlighted toggles between the filelist display and
  1773. the 80-column text display. Pressing Enter while a
  1774. subdirectory (< >) or the parent (<..>) directory is
  1775. highlighted loads the files from that directory. F3
  1776. permits entering a new filespec.
  1777.  
  1778. By default FILECTRL sorts filenames in ascending
  1779. alphabetical order. The F7, F8, F9, and F10 keys set
  1780. the sort field to filename, extension, size, and date,
  1781. respectively. Pressing F6 toggles between ascending and
  1782. descending order.
  1783.  
  1784. FILECTRL also permits entering a number of options as
  1785. command-line switches. These are summarised below.
  1786.  
  1787.     /M+        = Include only files modified
  1788.                  since last back-up
  1789.     /M-        = Include only files NOT modified
  1790.                  since last back-up
  1791.     /H         = Include Hidden files
  1792.     /R         = Include Read-only files
  1793.     /P date    = Only include files ON or Prior date
  1794.     /A date    = Only include files ON or After date
  1795.                  (date format = mm/dd/yy)
  1796.     /W         = WordStar files; remove high bit
  1797.     /N         = Sort by Name
  1798.     /E         = Sort by Extension
  1799.     /S         = Sort by Size
  1800.     /D         = Sort by Date
  1801.     /O         = Sort by Original DOS DIR order
  1802.                  (default is Sort by Name)
  1803.     /F         = Sort in descending order
  1804.  
  1805. For use with laptop computers it may be necessary to
  1806. enter the DOS MODE BW80 command before executing
  1807. FILECTRL.
  1808. @@FREE
  1809. FREE                  Based on a program by Art Merrill
  1810. List disk free space                       version 1.0s
  1811. -------------------------------------------------------
  1812.  
  1813. Purpose
  1814. -------
  1815. FREE.COM reports the amount of free space, the amount
  1816. of space used and the total space on one or more disk
  1817. drives. This information is also reported by the DIR
  1818. and CHKDSK commands but where a large number of files
  1819. are present, FREE is much faster.
  1820.  
  1821. Format
  1822. ------
  1823.  
  1824.     FREE [d:] [d:]...
  1825.  
  1826. or
  1827.  
  1828.     FREE dd...
  1829.  
  1830. Remarks
  1831. -------
  1832. FREE is in many respects a companion program to
  1833. FSIZE: the latter tells you how much storage space
  1834. you must have to make your copies, the former tells
  1835. you how much you do have.
  1836.  
  1837. Unlike most DOS commands, you do not have to
  1838. include the : after drive letters or even separate
  1839. them with spaces. FREE C: D: is equivalent to
  1840. FREE C D or even FREE CD. If you give more than
  1841. one drive letter, FREE prints totals for the
  1842. drives listed; if you hard disk is divided into
  1843. C D and E partitions, FREE CDE will list the
  1844. space on each partition and then the drive as
  1845. a whole.
  1846.  
  1847. Notes
  1848. -----
  1849. 1. Requires DOS 2.0 or later.
  1850.  
  1851. 2. This version of FREE updates the original
  1852.    PC Magazine FREE.COM written by Art Merrill
  1853. @@FSIZE
  1854. FSIZE                 Based on a program by Art Merrill
  1855. List file sizes and space occupied          version 1.0
  1856. -------------------------------------------------------
  1857.  
  1858. Purpose
  1859. -------
  1860. Calculates the storage requirements of a file or group
  1861. of files based on the number of DOS clusters necessary
  1862. to make floppy disk and hard disk copies.
  1863.  
  1864. Format
  1865. ------
  1866.  
  1867.     FSIZE filespec
  1868.  
  1869. or
  1870.  
  1871.     FSIZE filespec d:
  1872.  
  1873.  
  1874. Remarks
  1875. -------
  1876. DOS stores files in fixed-length 'allocation units' or
  1877. 'clusters'. For floppy disks, the cluster size is
  1878. usually 1024 bytes (two 512-byte sectors). A standard
  1879. XT 10Mb hard disk has a cluster size of 4096 bytes (8
  1880. 512-byte sectors). AT hard disks typically have a
  1881. cluster size of 2K (4 512-byte sectors). The cluster
  1882. size is determined when the disk is formatted; larger
  1883. clusters may be used on some drives, particularly
  1884. large capacity units.
  1885.  
  1886. The cluster size dictates how much disk space a file
  1887. takes up. DOS always stores files in a multiple of the
  1888. cluster size, if necessary padding out the last sectors
  1889. of the file with random data. For example, with a 2K
  1890. cluster size, a one byte file will still take up 2K
  1891. (2048 bytes); the same space as a 900 byte one or a
  1892. 2048 byte one. A 3000 byte file would occupy two
  1893. clusters, using a total of 4096 bytes.
  1894.  
  1895. Entered with a file specification, FSIZE lists the
  1896. total size of the files given and the space they
  1897. actually occupy on the disk. It also notes how much
  1898. space is 'lost' to padding data and what the cluster
  1899. size is on the drive holding the files.
  1900.  
  1901. Underneath, FSIZE lists how much space would be
  1902. required for the files on different types of disk.
  1903. For example, if the files are currently on a hard
  1904. disk, you can see how much free space is needed to
  1905. copy them onto a floppy disk. Similarly, if the
  1906. files are on a floppy, you can see how much space
  1907. they would take up if you coped them to a hard disk.
  1908.  
  1909. If you give a drive letter after the filespec,
  1910. FSIZE determines the cluster size on that drive
  1911. and reports how much space would be taken up by
  1912. the files if they were copied to it, rather than
  1913. producing a table of various values.
  1914.  
  1915. Examples
  1916. --------
  1917.  
  1918.     FSIZE *.*
  1919.  
  1920. Lists how much space files in the current directory
  1921. take up.
  1922.  
  1923.     FSIZE A:*.PCX
  1924.  
  1925. Lists how much space the PCX files on drive A take up.
  1926.  
  1927.     FSIZE C:\JAN
  1928.  
  1929. Lists how much space files in the \JAN directory on
  1930. drive C take up.
  1931.  
  1932.     FSIZE ACCOUNTS.WK1 B:
  1933.  
  1934. Lists how much space the file ACCOUNTS.WK1 takes up
  1935. and how much free space would be needed to copy it
  1936. onto a floppy in drive B. Note that drive B (or
  1937. whatever) must be ready for this to work as FSIZE
  1938. needs to read the cluster size from the disk.
  1939.  
  1940. Notes
  1941. -----
  1942.  
  1943. 1. Requires DOS 2.0 or later.
  1944.  
  1945. 2. From DOS 4 on, you can determine the cluster
  1946.    size on a particular drive with CHKDSK. You can
  1947.    do this with FSIZE and any version of DOS by
  1948.    running it with the name of any file on the
  1949.    disk
  1950.  
  1951. 3. If you are copying files into sub-directories,
  1952.    remember that the directory entries themselves
  1953.    require disk space; DOS may fit the files into
  1954.    the existing directory on the disk or it may
  1955.    need to extend the directory by a cluster or two
  1956.    to cope.
  1957.  
  1958. 4. FSIZE combines and updates the PC Magazine
  1959.    SIZE and ATSIZE utilities written by Art Merrill
  1960. @@PCPARK2
  1961. PCPARK2                                Robert L. Hummel
  1962. Generic hard disk park                    Version 1.0
  1963. -------------------------------------------------------
  1964.  
  1965. Purpose
  1966. -------
  1967. Parks the heads on a hard disk
  1968.  
  1969. Format
  1970. ------
  1971.  
  1972.     PCPARK2
  1973.  
  1974. Remarks
  1975. -------
  1976. This is a small but useful "universal" program to
  1977. park the heads of your hard disk drive. These days
  1978. most hard disks automatically park the read/write
  1979. heads in a safe place but some don't.
  1980.  
  1981. If yours doesn't, you should park the heads on the
  1982. disk whenever you switch off. If you do not have an
  1983. official parking program for your particular drive,
  1984. run this program just before you switch off...
  1985. PCPARK2 moves the heads to the last cylinder
  1986. available where you normally do not have much, if
  1987. any, data stored.
  1988.  
  1989. If you have more than one disk drive,
  1990. the program will loop through them all and park all
  1991. of their heads.
  1992.  
  1993. Notes
  1994. -----
  1995.  
  1996. 1. Some very early PCs will not support PCPARK2
  1997.    because of limitations in their BIOS software.
  1998.    PCPARK2 may also report that it is not able to
  1999.    park the disk on some current models of PC.
  2000.  
  2001. 2. There is no harm running PCPARK2 on a drive
  2002.    that automatically parks itself anyway when it
  2003.    is powered down... if you're not sure about
  2004.    your drive, run PCPARK2 anyway.
  2005. @@PCTODAY & PCCOPY
  2006. PCTODAY & PCCOPY                            Ethan Winer
  2007. Handy aids to daily back-up            Version 1.0
  2008. -------------------------------------------------------
  2009.  
  2010. Purpose
  2011. -------
  2012. PCTODAY & PCCOPY make backing up your day's work quick
  2013. and convenient. PCTODAY scans all the files on your
  2014. hard disk and makes a list of all the files bearing
  2015. the date specified. PCCOPY then uses the list to copy
  2016. those files to your designated destination.
  2017.  
  2018. Format
  2019. ------
  2020.  
  2021.     PCTODAY [d:] [/d mm-dd-yyyy] [> filename.ext]
  2022.  
  2023. and 
  2024.  
  2025.     PCCOPY Source [Destination] [/x filespec]
  2026.  
  2027. or
  2028.  
  2029.     PCCOPY @Responsefile [Destination]
  2030.  
  2031.  
  2032. Entered without any command line arguments, PCTODAY
  2033. displays the drive, directory, filename, and date of
  2034. all files modified on the current date. Files with
  2035. read-only, hidden, and system attributes are included.
  2036. The listing pauses at the end of each screen page (if
  2037. more than one is needed) and serves as a reminder of
  2038. which files may need to be backed up. 
  2039.  
  2040. By adding the optional /d switch, followed by any legal
  2041. DOS date in standard mm-dd-yyyy format, you can force
  2042. PCTODAY to include earlier-dated files. To limit the
  2043. drives in the search path or to include network and
  2044. floppy disks drives, just specify them individually on
  2045. the PCTODAY command line. (It's important that you
  2046. remember to include the colon after each drive
  2047. letter.)  For example, to see a list of the files on
  2048. drives C: and D: (only) with file dates on or after
  2049. November 25, you would enter the line
  2050.  
  2051.     PCTODAY C: D: /D 11-25-1991
  2052.  
  2053. Any number of drives can be similarly specified.
  2054. Spacing is not crucial in any of the command line
  2055. arguments, and drive letters and the date can be
  2056. listed in any order or even intermixed.
  2057.  
  2058. To send the list to a file (for use by PCCOPY) instead
  2059. of to the display, use the standard DOS redirection
  2060. symbol (>) followed by any legal filename. You can put
  2061. such a FILENAME.EXT on another drive, if desired.
  2062. Thus, given the command
  2063.  
  2064.     PCTODAY > D:LOGFILE.B25
  2065.  
  2066. PCTODAY will create LOGFILE.B25 as a filename (which is
  2067. also known as a response file; see the syntax for
  2068. PCCOPY) in the default directory of drive D:. 
  2069. LOGFILE.B25 contains the names of each file to be
  2070. backed up in the same order as they would appear
  2071. on-screen; however, it omits the file dates, the blank
  2072. lines between directories, and the sign-on message.
  2073. Restricting the listing to filenames only makes it
  2074. easier for PCCOPY to process the list.
  2075.  
  2076. In addition to using a PCTODAY list file as a source
  2077. for PCCOPY, you can use it with PKWARE's popular PKZIP
  2078. file compression utility. PKZIP lets you specify that
  2079. the filenames to be processed are to be found in a
  2080. response file rather than entered on the DOS command
  2081. line. Thus, the three-line batch file 
  2082.  
  2083.     PCTODAY > PCTODAY.RSP
  2084.     PKZIP PCTODAY.ZIP @PCTODAY.RSP
  2085.     COPY PCTODAY.ZIP A:
  2086.  
  2087. will back up the day's work for your entire system into
  2088. a compressed .ZIP file stored on drive A:. Note,
  2089. however, that in this case you must be sure that after
  2090. compression the .ZIP file will fit on a single floppy
  2091. disk.
  2092.  
  2093. Using PCCOPY
  2094. ------------
  2095. Used as a standalone utility, PCCOPY works in much the
  2096. same way as the DOS COPY command, except that it
  2097. restricts its processing specifically to those files
  2098. that need to be copied. If the destination drive or
  2099. directory has an identical or newer file of the same
  2100. name, PCCOPY will not overwrite it. That can save you
  2101. a substantial amount of time when many large files are
  2102. involved. To copy all unduplicated files from your
  2103. current directory to the \WORK directory on network
  2104. drive H:, you would enter:
  2105.  
  2106.     PCCOPY *.* H:\WORK
  2107.  
  2108. As with COPY, you can omit the destination argument if
  2109. you wish to copy to your current drive and directory.
  2110. And if a source or destination drive is given but a
  2111. path is not, the current directory for that drive will
  2112. be used.
  2113.  
  2114. The final--and potentially most powerful--feature of
  2115. PCCOPY when used as a standalone utility is its ability
  2116. to exclude one or more groups of files. Files to be
  2117. excluded are identified with the /x command line
  2118. argument, followed by an identifying filespec, as
  2119. shown in the following line:
  2120.  
  2121.     PCCOPY *.* H:\MYDIR /X *.BAK
  2122.  
  2123. In this example, the DOS wildcard * is used as part of
  2124. the exclude specification to prevent the copying of
  2125. any files that have a .BAK extension.
  2126.  
  2127. The ? and * wildcards can be applied to any common
  2128. parts of a group of filenames, of course -- not simply
  2129. to an extension -- and PCCOPY supports the use of up
  2130. to ten different exclude specifications. The placement
  2131. of the /x specifications is not important; they can
  2132. even be intermixed with the source and response file
  2133. (@responsefile) parameters. Note, however, that the /x
  2134. switch is recognised only when PCCOPY is working with
  2135. a source filespec. As explained below, filenames
  2136. contained in a response file are copied un-
  2137. conditionally; any /x commands are simply ignored.
  2138.  
  2139. To use PCCOPY with PCTODAY, you begin by having the
  2140. latter create a response file (arbitrarily named
  2141. LOGFILE.B25 previously). Then, instead of supplying
  2142. PCCOPY with a filespec, you tell it to copy the files
  2143. listed in this response file by preceding it with an at
  2144. sign (@), as follows:
  2145.  
  2146.     PCCOPY @LOGFILE.B25 A:
  2147.  
  2148. Although you will presumably use PCTODAY to create the
  2149. response file most of the time, any group of files can
  2150. be put into a response file. Remember, however, that
  2151. when a response file is used with PCCOPY, the copying
  2152. is unconditional: All the files in a response file
  2153. will be copied, whether or not they are newer than the
  2154. same-named files on the target drive and directory.
  2155.  
  2156. If at any time you forget the syntax for either PCTODAY
  2157. or PCCOPY, entering the command with the /? switch
  2158. will display the syntax.
  2159. @@PCUNZIP
  2160. PCUNZIP                                 Michael Mefford
  2161. ZIP archive file expander                   Version 1.0
  2162. -------------------------------------------------------
  2163.  
  2164. PCUNZIP provides a smaller, no-cost alternative to the
  2165. shareware utility PKUNZIP for decompressing .ZIP files
  2166. downloaded from services such as PC Magazine's ZEUS or
  2167. PCMAGNET and other sources.
  2168.  
  2169. Format
  2170. ------
  2171.  
  2172.     PCUNZIP filename [\path] [/V] [/E] [/O] [/?]
  2173.  
  2174. Remarks
  2175. -------
  2176. Entered simply with a filename (adding the .ZIP
  2177. extension is unnecessary), PCUNZIP uncompresses all
  2178. files within a .ZIP file into the current directory. A
  2179. path to an existing subdirectory can be supplied if it
  2180. is desired to store the decompressed file(s) elsewhere.
  2181. The optional /V (view) switch can be supplied to
  2182. display a listing of the files contained in a given
  2183. .ZIP filename. The /E (extract) switch, followed by
  2184. the name of one of these contained files, will extract
  2185. and decompress only the named file. By default,
  2186. PCUNZIP issues a confirming prompt before overwriting
  2187. a same-named file in the target subdirectory. This
  2188. warning can be overridden by executing PCUNZIP with
  2189. the /O switch. 
  2190.  
  2191. PCUNZIP and its /V and /E options support the use of
  2192. the DOS * and ? wildcards. This enables viewing or
  2193. extracting all or only the similarly named files for a
  2194. C program, for example. Unlike the full PKUNZIP
  2195. utility, however, PCUNZIP does not support the
  2196. decompression of encrypted files.
  2197.  
  2198. PCUNZIP occupies just 5K of disk space and requires
  2199. only 100K of working memory while active.
  2200. @@PRUNE
  2201. PRUNE                                Michael J. Mefford
  2202. Sub-directory manager                       Version 1.0
  2203. -------------------------------------------------------
  2204.  
  2205. Purpose
  2206. -------
  2207. To organise a hard disk by renaming, removing, copying,
  2208. and moving entire directories, together with their
  2209. files and subdirectories. Directories may be put into
  2210. other locations on their current or on another drive's
  2211. directory tree. PRUNE also reports directory or branch
  2212. size and permits directly calling up PC Magazine's DR
  2213. and DIRMATCH utilities to inspect files or update
  2214. directories with current file versions.
  2215.  
  2216. Format
  2217. ------
  2218.  
  2219.     PRUNE [d:] [d:]
  2220.  
  2221. Remarks
  2222. -------
  2223. Entered at the DOS prompt without either of its two
  2224. optional (d:) drive arguments, PRUNE displays a graphic
  2225. directory tree of the current drive in both of its
  2226. side-by-side windows. The d: arguments permit initial
  2227. display of any one or two directory trees on the
  2228. system. The active window, which has the highlight bar,
  2229. can be toggled with the Tab key or with the Left- or
  2230. Right-Arrow keys. The directory tree can be traversed
  2231. with the Up-/Down-Arrow, PgUp/PgDn, and Home/End keys.
  2232. Esc exits the utility.
  2233.  
  2234. The operations PRUNE can perform on the highlighted
  2235. directory are executed with the Function Keys. Note
  2236. that except for the Rename Directory command (F3),
  2237. "directory" here includes all directory and
  2238. subdirectory files. Prompts and confirmatory warnings
  2239. are provided as needed.
  2240.  
  2241. F1 copies the highlighted directory to another location
  2242. on the current tree or to one highlighted in the
  2243. alternate window. F2 removes a directory, and should be
  2244. used with special care. F4 moves (copies, then removes
  2245. the original) a directory. F5 gives the size of a
  2246. directory branch, including subdirectories, in terms of
  2247. the bytes allocated to the clusters required. Although
  2248. PRUNE will not copy or move directories where
  2249. insufficient space exists, this information may be
  2250. useful in deciding which directories to work on. F6
  2251. displays the same information for the directory files
  2252. without including any subdirectories. F7 permits
  2253. loading and displaying the tree of a new drive. F8
  2254. calls up the DR utility to permit reading the files in
  2255. a directory, and F9 calls up DIRMATCH to permit
  2256. updating a target directory with file versions from a
  2257. more recent directory. Note that for F8 and F9 to work,
  2258. these utilities must be on the DOS path. If using a
  2259. floppy drive, COMMAND.COM must also be on it.
  2260.  
  2261. Black and white display
  2262. -----------------------
  2263. Some systems, especially laptops, do not display
  2264. colour contrasts very well. If you find PRUNE hard to
  2265. read, you can force it to use black and white
  2266. attributes by entering the command MODE BW80 before
  2267. running the program. The best way to do this is from
  2268. a batch file containing the lines
  2269.  
  2270.     MODE BW80
  2271.     PRUNE %1 %2
  2272.  
  2273. If you have a colour system and PRUNE is using black
  2274. and white attributes, some other application may have
  2275. changed the video mode. To encourage PRUNE to use
  2276. colour, issue the DOS command MODE CO80 before
  2277. running the program.
  2278.  
  2279. Customising PRUNE
  2280. -----------------
  2281. The following instructions will enable you to customise
  2282. the colours used by PRUNE and to change the program run
  2283. by pressing F7 DR. Start by making a back-up copy of
  2284. PRUNE.COM and then enter:
  2285.  
  2286.     DEBUG PRUNE.COM
  2287.  
  2288. You are now ready to modify the utility. If at any time
  2289. you make a mistake, simply abort the editing process by
  2290. entering Q. The last two commands that you enter after
  2291. entering any modifications are
  2292.  
  2293.     W
  2294.     Q
  2295.  
  2296. for Write to disk and to Quit DEBUG.
  2297.  
  2298. Colour scheme: Enter the following DEBUG instructions,
  2299. replacing the xx with a hexadecimal colour value. The
  2300. default colour values and their descriptions are shown
  2301. as comments to the right of the semicolons. Do not type
  2302. in the comments.
  2303.  
  2304.     E 17B xx  ; 71  Blue on light gray Menu colour
  2305.     E 17C xx  ; 17  Light gray on blue Inactive tree
  2306.     E 17D xx  ; 31  Blue on cyan       Menu bar
  2307.     E 17E xx  ; 1F  White on blue      Active tree
  2308.     E 17F xx  ; 17  Light gray on blue DR colour
  2309.  
  2310. Alternate colours may be selected from the following
  2311. list. The background colour number is entered for the
  2312. first x and the foreground colour for the second x. Do
  2313. not use a light colour for the background or the
  2314. display will blink.
  2315.  
  2316.   Dark colours   Light colours
  2317.   ------------   -------------
  2318.   Black    0     Dark Gray 8
  2319.   Blue     1     Lt Blue   9
  2320.   Green    2     Lt Green  A
  2321.   Cyan     3     Lt Cyan   B
  2322.   Red      4     Orange    C
  2323.   Magenta  5     Violet    D
  2324.   Brown    6     Yellow    E
  2325.   Lt Gray  7     White     F
  2326.  
  2327. For example, to change the bar colour from blue on cyan
  2328. (31) to blue on light gray (17) you would enter
  2329.  
  2330.     E 57A 17
  2331.  
  2332. PRUNE turns on the border, and some monitors can't
  2333. handle that. To disable the border, enter
  2334.  
  2335.     E 185 1    g
  2336.  
  2337. Replace the 1 with a 0 to re-enable the border.
  2338.  
  2339. Reprogramming F7: Pressing F7 in PRUNE will run the
  2340. DR.COM utility if it is found on your DOS PATH. To
  2341. substitute a different utility for DR, enter
  2342.  
  2343.     E 192 "12345678"
  2344.  
  2345. where 12345678 is the eight-character name of the
  2346. utility you want to use instead. Make sure to include
  2347. the quotes shown above, but do NOT add either the
  2348. period or the extension (.COM or .EXE) of the
  2349. alternative utility. Append spaces if the utility name
  2350. is less than eight characters. For example, if you have
  2351. a program named DirMagic you could enter
  2352.  
  2353.     E 192 "DIRMAGIC"
  2354.  
  2355. The DR next to the F7 in the menu will not change, but
  2356. DirMagic will be executed all the same. Remember that
  2357. the new utility has to be in the DOS PATH. To change
  2358. the F7 utility back to DR, enter
  2359.  
  2360.     E 192 "DR "
  2361.  
  2362. Finish the DEBUG session with
  2363.  
  2364.     W
  2365.     Q
  2366. @@RED
  2367. RED                                      John Dickinson
  2368. Quickly moves files from one directory 
  2369. to another                    Version 1.0
  2370. -------------------------------------------------------
  2371.  
  2372. Purpose
  2373. -------
  2374. Transfers one (or more) file(s) from one subdirectory
  2375. to another without requiring the use of COPY and ERASE.
  2376.  
  2377. Format
  2378. ------
  2379.  
  2380.     RED [d:][path]filename[.ext] [d:][path]
  2381.  
  2382. Remarks
  2383. -------
  2384. Like the DOS COPY command, RED.COM supports the use of
  2385. the global characters ? and * in specifying the desired
  2386. source files.
  2387.  
  2388. Unlike COPY, however, RED.COM does not permit renaming
  2389. a file during the transfer process. (This is why it is
  2390. unnecessary to supply a target filename.) Furthermore,
  2391. RED requires that the source and target drives be the
  2392. same. You cannot, therefore, remove a set of files from
  2393. drive C: by trying to REDirect them to drive A:.
  2394.  
  2395. Example
  2396. --------
  2397. Before submitting your income tax you calculated it
  2398. under several different methods, contained in files
  2399. named ROUGH1.DAT through ROUGH6.WKS. These are all in
  2400. the subdirectory \TAX on drive C:, and you want to move
  2401. them all to a sub-subdirectory (which you have created)
  2402. called \1992TAX\DRAFTS.
  2403.  
  2404. From the C> prompt enter
  2405.  
  2406.     RED \TAX\ROUGH?.* \1992TAX\DRAFTS
  2407.  
  2408. and all six files will be moved out of \TAX and into
  2409. \1992\DRAFTS.
  2410.  
  2411. Notes
  2412. -----
  2413. 1. Requires DOS 2.0 or later.
  2414. @@RENDIR
  2415. RENDIR                                   John Dickinson
  2416. Renames a directory                Version 1.0
  2417. -------------------------------------------------------
  2418.  
  2419. Purpose
  2420. -------
  2421. Permits renaming subdirectories directly, without
  2422. creating a new directory, moving the contents of the
  2423. old one into it, and then removing the old directory.
  2424.  
  2425. Format
  2426. ------
  2427.  
  2428.     RENDIR [d:][path]oldname[.ext] newname[.ext]
  2429.  
  2430. Remarks
  2431. -------
  2432. DOS has always provided a REName command for filenames,
  2433. but not for directories. A bug in DOS 3.0 permits you
  2434. to use the immediate mode of BASIC to
  2435.  
  2436.     NAME olddir AS newdir
  2437.  
  2438. but this bug has been removed from subsequent DOS
  2439. versions. RENDIR.COM permits renaming directories in
  2440. DOS 3.0 and later.
  2441.  
  2442. While RENDIR allows you to change the name of a
  2443. directory on another drive than your current one, it
  2444. does not permit you to transfer a directory to another
  2445. drive by RENDIRing it. Thus, for example, if you are on
  2446. drive C: and have a directory on drive D: named \TAXES,
  2447. from the C> prompt you can
  2448.  
  2449.     RENDIR D:\TAXES \TAXES92
  2450.  
  2451. You cannot, however
  2452.  
  2453.     RENDIR D:\TAXES C:\TAXES92
  2454.  
  2455. Furthermore, you should not use RENDIR to try to change
  2456. the name of the subdirectory you are currently in.
  2457.  
  2458. Notes
  2459. -----
  2460. 1. Unlike RENAME, RENDIR does not support use of the ?
  2461.    and * wildcard characters.
  2462.  
  2463. 2. Requires DOS 3.0 or higher.
  2464. @@REPEATS
  2465. REPEATS                              Michael J. Mefford
  2466. Helps locate duplicate files                Version 1.0
  2467. -------------------------------------------------------
  2468.  
  2469. Purpose
  2470. -------
  2471. Checks all directories on a drive and reports all
  2472. duplicate filenames.
  2473.  
  2474. Format
  2475. ------
  2476.  
  2477.     REPEATS [d:][/P]
  2478.  
  2479. Remarks
  2480. -------
  2481. While not all duplicate files on a disk are
  2482. unnecessary, most are. If a hard disk has been in use
  2483. for some time it is astonishing how many outdated
  2484. versions or outright copies of the same file are
  2485. currently wasting space.
  2486.  
  2487. REPEATS lists all identical filenames, together with
  2488. their directory, size, date, and time information, so
  2489. you can decide which files to delete. The optional /P
  2490. switch directs the program output simultaneously to the
  2491. screen and to a printer. As an alternative, you could
  2492. redirect output to a file, DUPES.FND, by using the DOS
  2493. redirection command, thus:
  2494.  
  2495.     REPEATS > DUPES.FND
  2496.  
  2497. Notes
  2498. -----
  2499. 1. During the time it operates, REPEATS requires 128K of
  2500.    available memory. The program can be terminated
  2501.    prematurely by pressing Ctrl-Break.
  2502. @@RN
  2503. RN                                   Michael J. Mefford
  2504. Directory manager (links to DR)             Version 3.0
  2505. -------------------------------------------------------
  2506.  
  2507. Purpose
  2508. -------
  2509. Simplifies creating, removing, renaming, hiding,
  2510. unhiding, and changing to directories. Also
  2511. sets/resets the read-only and archive bits of all
  2512. files within a directory, and reports filecount and
  2513. space allocated. Allows immediate call-up of DR.COM
  2514. for handling individual files.
  2515.  
  2516. Format
  2517. ------
  2518.  
  2519.     RN [d:][/I]
  2520.  
  2521. Remarks
  2522. -------
  2523. RN can be entered either as an immediate command at the
  2524. DOS prompt, or it can be installed on a hard drive
  2525. (using the /I option) with a memory-resident database
  2526. of directory information that speeds up its subsequent
  2527. operations. If no drive (d:) is specified, the current
  2528. drive is assumed.
  2529.  
  2530. If installed, RN should be loaded before SideKick and
  2531. any other uninstallable memory-resident programs. (RN
  2532. cannot be deinstalled without rebooting.) The program
  2533. requires 128K RAM operating room; the database, if
  2534. used, occupies approximately 14K. RN cannot be called
  2535. up from within an application with a 'hotkey'; it can
  2536. be accessed only from the DOS prompt. Pressing Esc
  2537. terminates RN's operations.
  2538.  
  2539. When issued, RN.COM brings up an sorted directory tree
  2540. with the current listing highlighted and a menu listing
  2541. the function keys used for its various directory
  2542. services. The directory highlight bar is moved one
  2543. entry at a time by the Up Arrow and Down Arrow keys,
  2544. and in larger increments by the Ctrl-PgUp and
  2545. Ctrl-PgDn, PgUp and PgDn, and Home and End keys. The
  2546. highlight bar should be placed on the directory to be
  2547. affected by the subsequent function key.
  2548.  
  2549. When renaming (F2) and creating (F3) directories, do
  2550. not enter the backslash (\) character but include it in
  2551. figuring the maximum path length (63 characters). RmDir
  2552. (F4), if you confirm at its warning prompt, deletes all
  2553. files within the directory (unless they are marked
  2554. read-only) before removing it. Hide/Unhide (F5) affects
  2555. the directory name only, not the individual files. F6
  2556. and F7 (mark/unmark as read-only and set/reset the
  2557. archive bit) toggle these bits on all files within the
  2558. directory. F8 updates the directory database if changes
  2559. are made outside RN, and F9 gives a file count together
  2560. with the space allocated to a directory's files. F10
  2561. calls DR.COM.
  2562.  
  2563. Note
  2564. ----
  2565. 1. The F2 key (Rename Directory) requires DOS 3.x.
  2566. @@SEARCH
  2567. SEARCH                               Michael J. Mefford
  2568. Searches for files by name or content       Version 1.0
  2569. -------------------------------------------------------
  2570.  
  2571. Purpose
  2572. -------
  2573. Searches all or specified directories on a disk for
  2574. either designated filenames or the first occurrence of
  2575. character strings within files.
  2576.  
  2577. Format
  2578. ------
  2579.  
  2580.     SEARCH [filespec] [string][/P][/C][/B]
  2581.  
  2582. Remarks
  2583. -------
  2584. SEARCH defaults to a disk-wide search of all
  2585. subdirectories on the current disk. You can specify a
  2586. different drive and/or a pathname as part of the
  2587. optional filespec parameter. Filename searches support
  2588. the DOS * and ? wildcards. Character strings within
  2589. files are identified by putting them in quotation
  2590. marks. (The strings may themselves include a pair of
  2591. quotation marks.) Pressing either Ctrl-Break or Ctrl-C
  2592. terminates SEARCH manually.
  2593.  
  2594. To redirect the output of the SEARCH command to a
  2595. printer, add /P to the command line, as shown in the
  2596. first example below. Adding a similar /C switch will
  2597. make the search for a character string case-sensitive.
  2598.  
  2599. When searching for a character string, SEARCH normally
  2600. ignores .COM and .EXE files. While this saves time,
  2601. there may be occasions when you want to find copyright
  2602. notices, error messages, et al. in an executable file.
  2603. To include binary files in the search, add the /B
  2604. parameter on the command line.
  2605.  
  2606. Example
  2607. -------
  2608. To print out a list all the .COM files in the \PROG
  2609. subdirectory of your current drive, you would enter
  2610.  
  2611.     SEARCH \PROG\*.COM/P
  2612.  
  2613. Example
  2614. --------
  2615. To find which of the file(s) in your \LETTERS
  2616. subdirectory contained the salutation, Dear Miss Jones,
  2617. enter
  2618.  
  2619.     SEARCH \LETTERS "Dear Miss Jones"
  2620.  
  2621. Notes
  2622. -----
  2623. 1. SEARCH returns a line number, based on the number of
  2624.    previous carriage returns in the file, when it finds
  2625.    a string. It reports only the first occurrence of
  2626.    the string in each file.
  2627. @@SHOWDUPE
  2628. SHOWDUPE                              Richard Hale Shaw
  2629. Duplicate file finder                       Version 1.1
  2630. -------------------------------------------------------
  2631.  
  2632. Purpose
  2633. -------
  2634. SHOWDUPE helps with disk housekeeping by locating all
  2635. the files with the same name on one or more hard disks,
  2636. displaying them as a scrolling list and allowing you to
  2637. easily view, compare or delete them.
  2638.  
  2639. Format
  2640. ------
  2641.  
  2642.     SHOWDUPE d:\path [d:\path]...
  2643.  
  2644. where d: is the drive and \path is the path to the
  2645. directory in which SHOWDUPE should begin to search.
  2646.  
  2647. Using SHOWDUPE
  2648. --------------
  2649. Enter a command such as
  2650.  
  2651.     SHOWDUPE C:\
  2652.  
  2653. SHOWDUPE will recursively search the directory you
  2654. specify and all of its subdirectories. If you don't 
  2655. specify at least a drive on the command line, 
  2656. SHOWDUPE will default to the Search Directories 
  2657. entry in SHOWDUPE.INI, its configuration file.
  2658.  
  2659. As the syntax indicates, you can specify more than one
  2660. search drive and path on the command line. For
  2661. example,
  2662.  
  2663.     SHOWDUPE C:\DOS D:\OLDDOS
  2664.  
  2665. There's no limit to the number of drives or directories
  2666. you can specify on the command line. The total number
  2667. of files SHOWDUPE can scan is limited only by the
  2668. amount of conventional memory you have available; 
  2669. SHOWDUPE, for example, will comfortably scan over 7,000
  2670. files on a 200MB hard drive.
  2671.  
  2672. Before you run SHOWDUPE, make sure SHOWDUPE.EXE and
  2673. SHOWDUPE.INI are both in the current directory, or in
  2674. a directory that is on your path. Once you execute the
  2675. program, SHOWDUPE displays a window that lists all the
  2676. files in the designated directories as it scans them.
  2677. It then displays a window that lists your duplicate
  2678. files.
  2679.  
  2680. After it has found all the duplicate files, SHOWDUPE
  2681. builds two tables, DUPES.IDX and DUPES.DAT, which it
  2682. puts in the same directory as SHOWDUPE.EXE and
  2683. SHOWDUPE.INI. Once it has created these files, the
  2684. program won't attempt to create them again unless you
  2685. delete them.
  2686.  
  2687. DUPES.IDX contains a sorted list of the filenames;
  2688. DUPES.DAT contains date, time, size, and directory
  2689. pathname information. All this information could have
  2690. been stored in a single file, but then when the
  2691. filenames were sorted, SHOWDUPE would have to load all
  2692. this information into memory when, in fact, it only
  2693. needs the filenames. 
  2694.  
  2695. The menu bar at the bottom of the screen lists the
  2696. various commands for operating SHOWDUPE. In addition
  2697. to using the arrow keys to navigate the listing of
  2698. duplicate filenames, you can use Home and End go to
  2699. the top and bottom, and PgUp and PgDn to jump through
  2700. a screenful of filenames at a time. As you move the
  2701. highlight bar through the list, the full path for the
  2702. highlighted file appears in the Path window near the
  2703. top of the screen.
  2704.  
  2705. When you are ready to delete a duplicate file, scroll
  2706. to that filename and press the Del key. SHOWDUPE will
  2707. delete the file and gray its entry in the list box.
  2708.  
  2709. You can tag multiple files by moving the highlight bar
  2710. to each filename and pressing the Spacebar. SHOWDUPE
  2711. will change the colour of every entry that is tagged
  2712. for deletion. If you change your mind and wish to
  2713. untag a file, move the highlight bar to that entry and
  2714. hit the Spacebar again; it will act as a toggle, and
  2715. the colour of the entry will return to normal. Once you
  2716. have tagged all the files you want to delete, press F7
  2717. (Purge) to delete all the tagged files simultaneously.
  2718.  
  2719. Files can be viewed with a separate file viewing 
  2720. utility. SHOWDUPE comes with, and is initially 
  2721. configured for, the PC Magazine SMOOTH.COM program. To
  2722. view a file, simply place the highlight over the file's
  2723. name and press Enter. In the case of SMOOTH, pressing
  2724. ESC will return you to SHOWDUPE. Note that SMOOTH can
  2725. display any type of file but that you will see odd 
  2726. characters if you use it to examine binary or encoded
  2727. files such as graphics files, saved spreadsheets,
  2728. program files and so forth. SMOOTH is included on
  2729. volume 3 of the Power Pack.
  2730.  
  2731. While SHOWDUPE's list box may indicate that two files
  2732. have the same name, date, time and size, they still
  2733. might not be identical. How can you be sure they're
  2734. really the same? SHOWDUPE lets you perform a simple
  2735. byte-by-byte comparison. Highlight the first filename,
  2736. press F10, highlight the second filename, and press F10
  2737. again. SHOWDUPE will compare the contents of the two
  2738. files and display a message telling you whether they
  2739. are identical or not. 
  2740.  
  2741. When you delete a file with SHOWDUPE, it does not
  2742. disappear from the list box but simply appears grayed
  2743. out. Therefore, after you've deleted a large number of
  2744. duplicate files, you may wish to rebuild the .IDX and
  2745. .DAT tables. Searching through a long list of files
  2746. that have already been deleted isn't efficient. Select
  2747. F9 (Build) and SHOWDUPE will rebuild the tables and
  2748. update the list box.
  2749.  
  2750. The Build command can also come in handy if you started
  2751. deleting files with SHOWDUPE but didn't finish the
  2752. task. When you run SHOWDUPE at a later date, it will
  2753. redisplay the listing of duplicates exactly as you
  2754. left it. However, it will not account for any new files
  2755. you've created, new program files you may have loaded
  2756. that may have created duplicates, or files you've
  2757. deleted since the last time you ran SHOWDUPE. Hit F9
  2758. and SHOWDUPE will rebuild the tables, finding any new
  2759. duplicates. To abort the table-building process, press
  2760. any key.
  2761.  
  2762. At any time, you can press Ctrl-Enter to shell out to
  2763. DOS from SHOWDUPE. Simply type EXIT to return.
  2764.  
  2765. Configuring SHOWDUPE
  2766. --------------------
  2767. SHOWDUPE uses an initialisation file to store your
  2768. own choice of program settings. The file is called
  2769. SHOWDUPE.INI and is similar to .INI type files used by
  2770. other programs... perhaps the most well known now being
  2771. the WIN.INI file used by Microsoft Windows 3. 
  2772.  
  2773. The SHOWDUPE.INI file is designed to be easy to use...
  2774. it's just a plain ASCII text file, which you can create
  2775. or modify using a text editor, and uses plain English
  2776. words for each setting.
  2777.  
  2778. SHOWDUPE.INI lets you configure SHOWDUPE's screen
  2779. colours, desktop colours, and window colours. You can
  2780. also specify whether the program runs in 43- or
  2781. 50-line mode on an EGA or VGA system, or uses the
  2782. default screen mode. You can specify an alternate file
  2783. viewer as well as name default search directories. 
  2784.  
  2785. Each entry in SHOWDUPE.INI consists of a name followed
  2786. by an equals sign and the relevant value on a single
  2787. line. For example the line:
  2788.  
  2789. DeskTopBackGround=LIGHTGRAY
  2790.  
  2791. specifies that the Desktop background in the program
  2792. should be light gray in colour.
  2793.  
  2794. The colour settings
  2795. -------------------
  2796. For the following colour items, you can specify BLACK,
  2797. BLUE, GREEN, CYAN, RED, MAGENTA, BROWN, or LIGHTGRAY
  2798. for foreground and background colours. You can also use
  2799. DARKGRAY, LIGHTBLUE, LIGHTGREEN, LIGHTCYAN, LIGHTRED,
  2800. LIGHTMAGENTA, LIGHTYELLOW, and WHITE for any
  2801. foreground setting (theoretically, you can also use
  2802. these colours for background settings, but they cause
  2803. the background to blink).
  2804.  
  2805. The eight colour settings are: 
  2806.  
  2807. ScreenBackGround=<colour>
  2808. ScreenForeGround=<colour>
  2809. DeskTopBackGround=<colour>
  2810. DeskTopForeGround=<colour>
  2811. WindowBackGround=<colour>
  2812. WindowForeGround=<colour>
  2813. ScreenBackGround=<colour>
  2814. ScreenForeGround=<colour>
  2815.  
  2816. The latter two items control the colour of the title bar
  2817. and status lines at the top and bottom of the screen.
  2818. The DeskTop settings control the colours of the desktop
  2819. that appears under the windows, and the Window
  2820. settings control the window colours.
  2821.  
  2822. Other settings
  2823. --------------
  2824. The ScreenMode setting specifies whether the program
  2825. runs in 43- or 50-line mode on an EGA or VGA system.
  2826. If you don't have such a system, or just want SHOWDUPE
  2827. to use the default video mode, set ScreenMode to
  2828. DEFAULT:
  2829.  
  2830. ScreenMode=DEFAULT
  2831.  
  2832. To force SHOWDUPE into EGA or VGA mode on such a
  2833. system, set ScreenMode to EGAVGA as follows (the
  2834. setting is ignored on other systems):
  2835.  
  2836. ScreenMode=EGAVGA
  2837.  
  2838. Another setting, Viewer=, lets you override the default
  2839. file viewer, SMOOTH.COM, if you don't have SMOOTH.COM
  2840. or prefer another file viewer. For example, to use an
  2841. editor called TED, you might include the line:
  2842.  
  2843. Viewer=TED.COM
  2844.  
  2845. You don't need to specify the directory that the
  2846. program resides in, as long as the program is in a
  2847. directory in your PATH.
  2848.  
  2849. Finally, the SearchDirectories setting lets you specify
  2850. the default search directories for building duplicate
  2851. file tables. Internally, SHOWDUPE defines this
  2852. setting as NULL. You can override it by specifying one
  2853. or more search directories. For example 
  2854.  
  2855. SearchDirectories=C:\ D:\ E:\
  2856.  
  2857. If you specify search directories on the command line,
  2858. they will override the settings found in SHOWDUPE.INI.
  2859. This lets you maintain a set of default search
  2860. directories in SHOWDUPE.INI, but you can change them
  2861. at any time via command line arguments.
  2862. @@SLICE
  2863. SLICE                   Bob Flanders and Michael Holmes
  2864. Split a large file over multiple floppies   Version 1.3
  2865. -------------------------------------------------------
  2866.  
  2867. Purpose
  2868. -------
  2869. Spreads a DOS file too large to be copied onto a single
  2870. floppy disk across multiple diskettes, enabling the
  2871. file to be restored onto a second machine.
  2872.  
  2873. Format
  2874. ------
  2875.  
  2876.     SLICE [d:][path]filename[.ext] d:
  2877.  
  2878. Remarks
  2879. -------
  2880. The filename of the file to be divided may be preceded
  2881. with a drive and/or path, if needed. The target
  2882. drive may be any drive that DOS recognises as a
  2883. removable medium. Diskettes from 160KB to 1.44MB
  2884. capacity may be used, as may disk cartridges whose
  2885. device driver identifies them as employing a removable
  2886. medium.
  2887.  
  2888. As each target diskette is filled, the user is
  2889. prompted to insert a fresh one; up to 99 formatted
  2890. target disks may be accommodated. On the first of
  2891. these, SLICE also creates a short (approximately 1KB)
  2892. program, SPLICE.COM, which is subsequently used to
  2893. reassemble the separate sections into which filename
  2894. has been broken. The syntax for SPLICE.COM is:
  2895.  
  2896. Format
  2897. ------
  2898.  
  2899.     d:\SPLICE s: [t:][path] [/R]
  2900.  
  2901. Remarks
  2902. -------
  2903. The d: parameter designates the drive on which
  2904. SPLICE.COM has been written, and s: designates the
  2905. source drive. Normally, these are the same. The
  2906. optional t: and path identify the hard disk/path onto
  2907. which the file is to be reassembled as single entity.
  2908. If these latter parameters are unspecified, the default
  2909. drive and directory will be used for restoration. The
  2910. original filename cannot be changed in either the SLICE
  2911. or SPLICE operations, each of which requires
  2912. approximately 34KB of available memory. The optional /R
  2913. parameter tells the program to disable the check for
  2914. removable media. If you receive an error message
  2915. saying, "Must be removable media," you can try running
  2916. SPLICE with the /R parameter. This is useful when the
  2917. device driver for a drive does not support the IOCTL
  2918. requesting removable status.
  2919.  
  2920. Note
  2921. ----
  2922. The DOS BACKUP and RESTORE utilities also permit a
  2923. large file to be divided among multiple disks. However,
  2924. they are not as easy to use and require that the same
  2925. version of DOS be present on both the originating and
  2926. the receiving machines.
  2927. @@TOUCH
  2928. TOUCH                                Michael J. Mefford
  2929. Set time and date stamp on files        Version 1.0
  2930. -------------------------------------------------------
  2931.  
  2932. Purpose
  2933. -------
  2934. Changes the DOS date and/or time designation of a file
  2935. or group of files either to the current system values
  2936. or to user-designated values.
  2937.  
  2938. Format
  2939. ------
  2940.  
  2941.     TOUCH filespec [/D date] [/T time]
  2942.  
  2943. Remarks
  2944. -------
  2945. Entered without any arguments, TOUCH displays a help
  2946. screen showing its syntax. If given a filespec but
  2947. neither of the optional switches (/D or /T), TOUCH
  2948. updates the designated file to the current system date
  2949. and time. Note that the standard DOS filename wild
  2950. cards (* and ?) are supported, so TOUCH can operate on
  2951. groups of files.
  2952.  
  2953. The optional /D date switch permits entry a
  2954. user-selected date in the customary DOS mm-dd-yy
  2955. format. If desired, the hyphen delimiters may be
  2956. replaced by forward slashes (/), and the year may be
  2957. entered either in full form (e.g. 1988) or in
  2958. abbreviated (88) form. TOUCH checks that each of the
  2959. three fields is filled with a non-zero value, but does
  2960. not check the validity of a date (e.g. 2/31/88). Legal
  2961. DOS years are from 1980 to 2099.
  2962.  
  2963. The optional /T time switch permits the user to specify
  2964. times in hours:minutes:seconds. If the minutes and/or
  2965. seconds parameters are omitted, TOUCH will set them to
  2966. 0. Hours should be entered in military (24-hour)
  2967. format.
  2968. @@WIPE
  2969. WIPE               Based on a program by Steven Holzner
  2970. Secure file delete utility                  Version 1.0
  2971. -------------------------------------------------------
  2972.  
  2973. Purpose
  2974. -------
  2975. Provides security by deleting files permanently so that
  2976. their contents cannot be recovered.
  2977.  
  2978. Format
  2979. ------
  2980.  
  2981.     WIPE filespec [filespec]...  [/N]
  2982.  
  2983. Remarks
  2984. -------
  2985. The DOS DEL command does not physically erase data
  2986. when it deletes a file... it simply removes the file's
  2987. details from the directory and marks the disk space
  2988. where the file's data is stored as free for future use.
  2989.  
  2990. This is an advantage in that, in the case of accidents,
  2991. it is often possible to recover a deleted file. It's a
  2992. weakness, however, in that the DEL command alone is not
  2993. enough to stop a determined person from recovering
  2994. sensitive information that you thought you'd deleted.
  2995.  
  2996. WIPE provides extra security when you need it... it
  2997. first overwrites the data in the file and only then
  2998. deletes it. In fact, it overwrites the existing data
  2999. three times with different values and obscures the
  3000. file's original directory details to the point where
  3001. most automated undelete programs will not even attempt
  3002. to recover the file's data.
  3003.  
  3004. WIPE asks for confirmation before wiping each file
  3005. specified (you can use wildcards or give several
  3006. filenames separated by spaces). Press Y to go ahead
  3007. or N to leave the files as is. If you want to wipe
  3008. a group of files and are sure you know what you are
  3009. doing, add /N to the WIPE command. The program will
  3010. then ask for confirmation only once before wiping
  3011. each selected file in turn.
  3012.  
  3013. Notes
  3014. -----
  3015. 1. Requires DOS 2.0 or later
  3016.  
  3017. 2. WIPE replaces the original DELZ program by
  3018.    Steven Holzner
  3019. @@XDIR
  3020. XDIR                                       Jeff Prosise
  3021. Pop-up directory display                Version 1.0
  3022. -------------------------------------------------------
  3023.  
  3024. Purpose
  3025. -------
  3026. XDIR is a memory-resident utility that allows you to
  3027. display the filenames in any drive/directory even when
  3028. you are running another applications program.
  3029.  
  3030. Format
  3031. ------
  3032.  
  3033.     XDIR
  3034.  
  3035. Remarks
  3036. -------
  3037. Once loaded (normally as an entry in your AUTOEXEC.BAT
  3038. file), pressing the Alt-. (the Alt and the period key
  3039. combination) causes a blank window to pop up on the
  3040. screen. Pressing Enter then displays the first 40
  3041. filenames of your current directory in the window.
  3042. Pressing Esc once clears the display, and pressing it a
  3043. second time returns you to your previous application.
  3044.  
  3045. To view other directories, simply enter their
  3046. appropriate path designation (including drive, if
  3047. different) before pressing Enter when the window is
  3048. blank.
  3049.  
  3050. The PgUp and PgDn keys are used to display files beyond
  3051. the initial 40 shown in the window. Up to 360 files in
  3052. any one directory may be displayed.
  3053.  
  3054. Notes
  3055. -----
  3056. 1. If you are experienced in using DEBUG, you may wish
  3057.    to change some of the XDIR defaults. Remember
  3058.    always to make changes to a copy of the program,
  3059.    not to your original. After entering DEBUG XDIR.COM,
  3060.    the following addresses and initial values may be of
  3061.    interest:
  3062.  
  3063.     Offset Value  Parameter
  3064.     ------ -----  -----------
  3065.     013C   4F     Border colour attribute
  3066.     013D   0F     Text colour attribute
  3067.     014D   00     File type (see Note 2)
  3068.     0186   34     Period key scan code
  3069.     018E   08     Alt-key shift code
  3070.  
  3071. 2. By default, XDIR displays only normal filenames (00
  3072.    at :014D). To show hidden files, the value here
  3073.    should be 02. System files are 04, and subdirectories
  3074.    are 10h. These values are additive. To display
  3075.    subdirectories and files marked both hidden and
  3076.    system (e.g. IBMBIO.COM) you would enter the value
  3077.    16h at offset :014D in place of the default 00.
  3078.  
  3079. 3. While no TSR program can be guaranteed compatible
  3080.    with all other memory residents, XDIR should coexist
  3081.    with most other TSRs.
  3082.